From e197091bb2159e65f9ca71ce702d147f53e908bc Mon Sep 17 00:00:00 2001 From: Jeremy Wood Date: Sun, 5 Aug 2012 15:40:58 -0400 Subject: [PATCH] Added better support for large biomes. --- .../MultiverseCore/commands/EnvironmentCommand.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/EnvironmentCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/EnvironmentCommand.java index eaabf173..eec0242e 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/EnvironmentCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/EnvironmentCommand.java @@ -53,8 +53,8 @@ public class EnvironmentCommand extends MultiverseCommand { */ public static void showWorldTypes(CommandSender sender) { sender.sendMessage(ChatColor.YELLOW + "Valid World Types are:"); - sender.sendMessage(String.format("%sNORMAL%s, %sFLAT %sor %sVERSION_1_1", - ChatColor.GREEN, ChatColor.WHITE, ChatColor.AQUA, ChatColor.WHITE, ChatColor.GOLD)); + sender.sendMessage(String.format("%sNORMAL%s, %sFLAT, %sLARGEBIOMES %sor %sVERSION_1_1", + ChatColor.GREEN, ChatColor.WHITE, ChatColor.AQUA, ChatColor.RED, ChatColor.WHITE, ChatColor.GOLD)); } @Override @@ -75,6 +75,9 @@ public class EnvironmentCommand extends MultiverseCommand { type = "NORMAL"; if (type.equalsIgnoreCase("flat")) type = "FLAT"; + if (type.equalsIgnoreCase("largebiomes")) { + type = "LARGE_BIOMES"; + } try { // Now that we've converted a potentially unfriendly value // to a friendly one, get it from the ENUM!