Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fixed Doors not dropping when the block they are placed on is removed. Fixes BUKKIT-1292
Dieser Commit ist enthalten in:
Ursprung
52ecd60e61
Commit
cf2abd20e8
@ -157,7 +157,7 @@ public class BlockDoor extends Block {
|
||||
|
||||
if (world.getTypeId(i, j + 1, k) != this.id) {
|
||||
world.setTypeId(i, j, k, 0);
|
||||
flag = true;
|
||||
//flag = true; // CraftBukkit
|
||||
}
|
||||
|
||||
if (!world.e(i, j - 1, k)) {
|
||||
@ -169,11 +169,9 @@ public class BlockDoor extends Block {
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
/* CraftBukkit start - Move the drop to on break instead of on physics
|
||||
if (!world.isStatic) {
|
||||
this.b(world, i, j, k, i1, 0);
|
||||
}
|
||||
// */
|
||||
} else if (l > 0 && Block.byId[l].isPowerSource()) {
|
||||
org.bukkit.World bworld = world.getWorld();
|
||||
org.bukkit.block.Block block = bworld.getBlockAt(i, j, k);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren