Swapped an =="" for "".equals in EntityHuman

This commit is contained in:
Dinnerbone committed 2011-09-25 01:36:05 +01:00
1 parent fad2656c63
commit 79e7ae85dd
1 file changed
+1 -1
@@ -475,7 +475,7 @@ public abstract class EntityHuman extends EntityLiving {
// CraftBukkit start
this.spawnWorld = nbttagcompound.getString("SpawnWorld");
if (this.spawnWorld == "") {
if ("".equals(spawnWorld)) {
this.spawnWorld = this.world.getServer().getWorlds().get(0).getName();
}
// CraftBukkit end