diff --git a/src/main/java/com/songoda/skyblock/permission/permissions/listening/PlacePermission.java b/src/main/java/com/songoda/skyblock/permission/permissions/listening/PlacePermission.java index 9831b590..088921ac 100644 --- a/src/main/java/com/songoda/skyblock/permission/permissions/listening/PlacePermission.java +++ b/src/main/java/com/songoda/skyblock/permission/permissions/listening/PlacePermission.java @@ -31,7 +31,7 @@ public class PlacePermission extends ListeningPermission { Player player = event.getPlayer(); - if (event.getItem() != null && CompatibleMaterial.getMaterial(event.getItem()) == CompatibleMaterial.BONE_MEAL) + if (event.getItem() != null && CompatibleMaterial.getMaterial(event.getItem()).equals(CompatibleMaterial.BONE_MEAL)) cancelAndMessage(event, player, plugin, messageManager); }