diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java index 6afc2bb3..0024e0bb 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java @@ -667,7 +667,8 @@ private void handleBlockRightClick(PlayerInteractEvent event) { if (type == BlockID.CAKE_BLOCK) { if (!plugin.getGlobalRegionManager().hasBypass(player, world) - && !set.canBuild(localPlayer)) { + && !set.canBuild(localPlayer) + && !set.allows(DefaultFlag.USE, localPlayer)) { player.sendMessage(ChatColor.DARK_RED + "You're not invited to this tea party!"); event.setUseInteractedBlock(Result.DENY); event.setCancelled(true);