Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-1401: Issues placing blocks adjacent to eachother
Dieser Commit ist enthalten in:
Ursprung
d7cce99f01
Commit
0a1e0455e2
@ -167,7 +167,7 @@
|
|||||||
+ BlockPosition newblockposition = new BlockPosition(x, y, z);
|
+ BlockPosition newblockposition = new BlockPosition(x, y, z);
|
||||||
+ IBlockData block = world.getType(newblockposition);
|
+ 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);
|
+ block.getBlock().onPlace(world, newblockposition, block);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren