We build for JDK 1.5.

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
CraftBukkit/Spigot 2011-06-23 15:41:07 -04:00
parent 10dcb517dc
commit 9ad0ab93d1

View file

@ -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]);