From 79e7ae85dd5401df0aff4604a0b5eaf8a24f800b Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sun, 25 Sep 2011 01:36:05 +0100 Subject: [PATCH] Swapped an =="" for "".equals in EntityHuman --- src/main/java/net/minecraft/server/EntityHuman.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index e77ba569b4..68217e7aae 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -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