SPIGOT-1401: Issues placing blocks adjacent to eachother

This commit is contained in:
md_5 2016-11-28 10:13:49 +11:00
parent d7cce99f01
commit 0a1e0455e2

View file

@ -167,7 +167,7 @@
+ BlockPosition newblockposition = new BlockPosition(x, y, z);
+ IBlockData block = world.getType(newblockposition);
+
+ if (!(block instanceof BlockTileEntity)) { // Containers get placed automatically
+ if (!(block.getBlock() instanceof BlockTileEntity)) { // Containers get placed automatically
+ block.getBlock().onPlace(world, newblockposition, block);
+ }
+