3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 13:30:06 +01:00

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