From e7f9030757c85c4ebff5aa8f42ac201d6ac92646 Mon Sep 17 00:00:00 2001 From: Sauilitired Date: Sun, 9 Nov 2014 00:00:48 +0100 Subject: [PATCH] Fix :D --- .../com/intellectualcrafters/plot/commands/MainCommand.java | 2 +- .../main/java/com/intellectualcrafters/plot/commands/Set.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java index 524a8a0b0..4101e915d 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java @@ -194,7 +194,7 @@ public class MainCommand implements CommandExecutor, TabCompleter { help.add(s); - if ((x != start) && (x != (max - 1))) { + if ((x != start)) { help.add(t(C.HELP_ITEM_SEPARATOR.s().replaceAll("%lines", lines))); } diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java index 1726b7299..6ebfabb41 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java @@ -228,6 +228,7 @@ public class Set extends SubCommand { sendMessage(plr, C.NAME_LITTLE, "Biome", args[1].length() + "", "2"); return true; } + final Biome biome = Biome.valueOf(new StringComparsion(args[1], Biome.values()).getBestMatch()); /* * for (Biome b : Biome.values()) {