mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-20 15:23:54 +00:00
Fixed bad array bounds check in BukkitWorld.setContainerBlockContents().
This commit is contained in:
@ -412,7 +412,7 @@ public class BukkitWorld extends LocalWorld {
|
||||
int size = inven.getSize();
|
||||
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (i >= contents.length + 1) {
|
||||
if (i >= contents.length) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user