diff --git a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/NukkitWorld.java b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/NukkitWorld.java index aee5c067..6f003ecc 100644 --- a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/NukkitWorld.java +++ b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/NukkitWorld.java @@ -211,7 +211,10 @@ public class NukkitWorld extends LocalWorld { @Override public boolean isValidBlockType(int type) { Item item = Item.get(type); - return item != null && item.getId() < 256 && item.canBePlaced(); + if (item == null) { + return false; + } + return item != null && item.getId() < 256 && item.getBlock() != null; } @Override