From 009f5569f87eaa5bd2daea30a58a215bb302c564 Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Sun, 23 Sep 2018 11:44:49 -0400 Subject: [PATCH] Allowed amount was off. --- .../java/com/songoda/epichoppers/listeners/BlockListeners.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/BlockListeners.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/BlockListeners.java index d690bf0..9bf68a3 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/BlockListeners.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/BlockListeners.java @@ -53,7 +53,7 @@ public class BlockListeners implements Listener { int max = maxHoppers(player); - if (max != -1 && amt >= max) { + if (max != -1 && amt > max) { player.sendMessage(instance.getLocale().getMessage("event.hopper.toomany", max)); e.setCancelled(true); return;