Archiviert
13
0

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

Dieser Commit ist enthalten in:
Dinnerbone 2011-09-25 01:36:05 +01:00
Ursprung fad2656c63
Commit 79e7ae85dd

Datei anzeigen

@ -475,7 +475,7 @@ public abstract class EntityHuman extends EntityLiving {
// CraftBukkit start // CraftBukkit start
this.spawnWorld = nbttagcompound.getString("SpawnWorld"); this.spawnWorld = nbttagcompound.getString("SpawnWorld");
if (this.spawnWorld == "") { if ("".equals(spawnWorld)) {
this.spawnWorld = this.world.getServer().getWorlds().get(0).getName(); this.spawnWorld = this.world.getServer().getWorlds().get(0).getName();
} }
// CraftBukkit end // CraftBukkit end