diff --git a/bukkit/src/main/java/com/griefdefender/GDPlayerData.java b/bukkit/src/main/java/com/griefdefender/GDPlayerData.java index b87534a..3f22c66 100644 --- a/bukkit/src/main/java/com/griefdefender/GDPlayerData.java +++ b/bukkit/src/main/java/com/griefdefender/GDPlayerData.java @@ -590,7 +590,7 @@ public boolean canCreateClaim(Player player, boolean sendMessage) { GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().PERMISSION_CLAIM_CREATE); } return false; - } else if (!player.hasPermission(GDPermissions.CLAIM_CUBOID_SUBDIVISION)) { + } else if (createMode == CreateModeTypes.VOLUME && !player.hasPermission(GDPermissions.CLAIM_CUBOID_SUBDIVISION)) { if (sendMessage) { GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().PERMISSION_CUBOID); GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().COMMAND_CUBOID_DISABLED); diff --git a/sponge/src/main/java/com/griefdefender/GDPlayerData.java b/sponge/src/main/java/com/griefdefender/GDPlayerData.java index eb6bc84..9635bc5 100644 --- a/sponge/src/main/java/com/griefdefender/GDPlayerData.java +++ b/sponge/src/main/java/com/griefdefender/GDPlayerData.java @@ -595,7 +595,7 @@ public boolean canCreateClaim(Player player, boolean sendMessage) { GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().PERMISSION_CLAIM_CREATE); } return false; - } else if (!player.hasPermission(GDPermissions.CLAIM_CUBOID_SUBDIVISION)) { + } else if (createMode == CreateModeTypes.VOLUME && !player.hasPermission(GDPermissions.CLAIM_CUBOID_SUBDIVISION)) { if (sendMessage) { GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().PERMISSION_CUBOID); GriefDefenderPlugin.sendMessage(player, MessageCache.getInstance().COMMAND_CUBOID_DISABLED);