From 22c28e593e797b1761920967689f37e74cc6a14a Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 23 Jun 2011 15:41:07 -0400 Subject: We build for JDK 1.5. --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index b0c8d908..2c48addc 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -598,7 +598,7 @@ public final class CraftServer implements Server { if (node != null) { String name = node.getString("generator"); - if ((name != null) && (!name.isEmpty())) { + if ((name != null) && (!name.equals(""))) { String[] split = name.split(":", 2); String id = (split.length > 1) ? split[1] : null; Plugin plugin = pluginManager.getPlugin(split[0]); -- cgit v1.2.3