diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-25 01:36:05 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-25 01:36:05 +0100 |
commit | 79e7ae85dd5401df0aff4604a0b5eaf8a24f800b (patch) | |
tree | a63c3c0268bc53dac6b2cd40b38b4edcccb0faa5 /src | |
parent | fad2656c6397fc49f63d482b681355f18429fc0d (diff) | |
download | craftbukkit-79e7ae85dd5401df0aff4604a0b5eaf8a24f800b.tar craftbukkit-79e7ae85dd5401df0aff4604a0b5eaf8a24f800b.tar.gz craftbukkit-79e7ae85dd5401df0aff4604a0b5eaf8a24f800b.tar.lz craftbukkit-79e7ae85dd5401df0aff4604a0b5eaf8a24f800b.tar.xz craftbukkit-79e7ae85dd5401df0aff4604a0b5eaf8a24f800b.zip |
Swapped an =="" for "".equals in EntityHuman
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index e77ba569..68217e7a 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 |