Fix double chests
This commit is contained in:
parent
0cdd12669f
commit
b3e0cf3949
@ -148,7 +148,7 @@ public class WorldListener implements Listener {
|
||||
if(chests > 1) {
|
||||
isMovable = false;
|
||||
break;
|
||||
} else {
|
||||
} else if(chests == 1) {
|
||||
if(b.getType() == Material.CHEST) {
|
||||
Chest chest = (Chest)b.getState();
|
||||
if(chest.getInventory() instanceof DoubleChestInventory) {
|
||||
|
Reference in New Issue
Block a user