String data can't be null

This commit is contained in:
1whohears committed 2022-05-29 14:42:28 -05:00
1 parent fb0ff50994
commit a675033d62
2 files changed
+2 -2

No files matched your search

@@ -868,7 +868,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
}
public boolean spawnedFromSoulStone() {
return npc.advanced.soulStonePlayerName != null;
return !npc.advanced.soulStonePlayerName.equals("");
}
public String getSoulStonePlayerName() {