Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 13:30:06 +01:00
Fix for doors breaking themselves in certain situations
Dieser Commit ist enthalten in:
Ursprung
88e57fbf2d
Commit
94d1338feb
@ -99,7 +99,7 @@ public class ItemDoor extends Item {
|
|||||||
world.setTypeIdAndData(i, j, k, block.id, l);
|
world.setTypeIdAndData(i, j, k, block.id, l);
|
||||||
world.suppressPhysics = false;
|
world.suppressPhysics = false;
|
||||||
|
|
||||||
world.applyPhysics(i, j, k, Block.REDSTONE_WIRE.id);
|
world.applyPhysics(i, j, k, block.id);
|
||||||
|
|
||||||
if (entityhuman != null) {
|
if (entityhuman != null) {
|
||||||
BlockPlaceEvent event = CraftEventFactory.callBlockPlaceEvent(world, entityhuman, blockState, clickedX, clickedY, clickedZ, block);
|
BlockPlaceEvent event = CraftEventFactory.callBlockPlaceEvent(world, entityhuman, blockState, clickedX, clickedY, clickedZ, block);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren