mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 03:47:27 +00:00
String data can't be null
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user