mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 09:17:39 +00:00
Fixed bad array bounds check in BukkitWorld.setContainerBlockContents().
This commit is contained in:
parent
0f4a9e58b6
commit
53d5a0c961
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user