mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 11:22:15 +01:00
Swapped an =="" for "".equals in EntityHuman
This commit is contained in:
parent
fad2656c63
commit
79e7ae85dd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue