diff --git a/src/main/java/net/moddedminecraft/betterchunkloader/menu/MenuListener.java b/src/main/java/net/moddedminecraft/betterchunkloader/menu/MenuListener.java index ebc92f6..278277c 100644 --- a/src/main/java/net/moddedminecraft/betterchunkloader/menu/MenuListener.java +++ b/src/main/java/net/moddedminecraft/betterchunkloader/menu/MenuListener.java @@ -99,7 +99,7 @@ public void onMenuInteract(ClickInventoryEvent event) { args.put("available", String.valueOf(available)); - if (chunks.get() > available + chunkLoader.getChunks()) { + if (chunks.get() > (available + chunkLoader.getChunks()) - 1) { args.put("needed", String.valueOf(chunks.get())); player.sendMessage(Utilities.parseMessage(plugin.getConfig().getMessages().prefix + plugin.getConfig().getMessages().chunkLoader.notEnough, args)); break;