mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 03:32:46 +01:00
SPIGOT-1401: Issues placing blocks adjacent to eachother
This commit is contained in:
parent
d7cce99f01
commit
0a1e0455e2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue