mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-09 08:37:41 +01:00
Fix chests recognising incorrect neighbors
This commit is contained in:
parent
7d4b355e64
commit
f2352d2e42
@ -31,7 +31,7 @@ public class uBlock {
|
||||
for (BlockFace chestFace : NEIGHBOR_FACES) {
|
||||
Block relative = chestBlock.getRelative(chestFace);
|
||||
|
||||
if (BlockUtil.isChest(relative)) {
|
||||
if (relative.getType() == chestBlock.getType()) {
|
||||
return (Chest) relative.getState();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user