From 4eeef50853b2e877eb58cfc7d0d3eda82fb4311e Mon Sep 17 00:00:00 2001 From: Fabrizio La Rosa Date: Wed, 17 Jun 2020 16:54:14 +0200 Subject: [PATCH] Fixed stackables bypassing island settings --- src/main/java/com/songoda/skyblock/listeners/Block.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/skyblock/listeners/Block.java b/src/main/java/com/songoda/skyblock/listeners/Block.java index d1cfe72e..cb737dd9 100644 --- a/src/main/java/com/songoda/skyblock/listeners/Block.java +++ b/src/main/java/com/songoda/skyblock/listeners/Block.java @@ -68,7 +68,7 @@ public class Block implements Listener { } // Check permissions. - if (!skyblock.getPermissionManager().processPermission(event, player, island)) { + if (!skyblock.getPermissionManager().processPermission(event, player, island) || event.isCancelled()) { return; }