diff --git a/src/main/java/net/knarcraft/bookswithoutborders/command/CommandBooksWithoutBorders.java b/src/main/java/net/knarcraft/bookswithoutborders/command/CommandBooksWithoutBorders.java index d66c729..63a9af7 100644 --- a/src/main/java/net/knarcraft/bookswithoutborders/command/CommandBooksWithoutBorders.java +++ b/src/main/java/net/knarcraft/bookswithoutborders/command/CommandBooksWithoutBorders.java @@ -104,6 +104,9 @@ public class CommandBooksWithoutBorders implements TabExecutor { String commandInfo = "\n" + getCommandColor() + pluginCommand.getUsage().replace("", pluginCommand.getName()) + ": " + getSuccessColor() + pluginCommand.getDescription(); if (sender.hasPermission("bookswithoutborders.admin")) { + if (permission == null) { + permission = "None"; + } commandInfo += getCommandColor() + " {" + permission + "}"; } sender.sendMessage(commandInfo);