mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Swapped an =="" for "".equals in EntityHuman
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user