mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Fix for doors breaking themselves in certain situations
This commit is contained in:
parent
88e57fbf2d
commit
94d1338feb
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ public class ItemDoor extends Item {
|
|||
world.setTypeIdAndData(i, j, k, block.id, l);
|
||||
world.suppressPhysics = false;
|
||||
|
||||
world.applyPhysics(i, j, k, Block.REDSTONE_WIRE.id);
|
||||
world.applyPhysics(i, j, k, block.id);
|
||||
|
||||
if (entityhuman != null) {
|
||||
BlockPlaceEvent event = CraftEventFactory.callBlockPlaceEvent(world, entityhuman, blockState, clickedX, clickedY, clickedZ, block);
|
||||
|
|
Loading…
Add table
Reference in a new issue