geforkt von Mirrors/Paper
Assert that the block is still present after placement. Fixes BUKKIT-1399
Dieser Commit ist enthalten in:
Ursprung
1d361c2f48
Commit
41b2e89c70
@ -79,7 +79,7 @@ public class ItemBlock extends Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (world.setTypeIdAndData(i, j, k, id, data)) {
|
if (world.setTypeIdAndData(i, j, k, id, data)) {
|
||||||
if (Block.byId[id] != null) {
|
if (world.getTypeId(i, j, k) == id && Block.byId[id] != null) {
|
||||||
Block.byId[id].postPlace(world, i, j, k, l);
|
Block.byId[id].postPlace(world, i, j, k, l);
|
||||||
Block.byId[id].postPlace(world, i, j, k, entityhuman);
|
Block.byId[id].postPlace(world, i, j, k, entityhuman);
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren