mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 06:24:42 +00:00
Capital "I" for Instance
This commit is contained in:
1 parent
772f5a999d
commit
16d02f93e1
12 files changed
+39
-45
No files matched your search
@@ -87,7 +87,7 @@ public class ItemSoulstoneFilled extends Item {
|
||||
npc.advanced.soulStonePlayerName = player.getDisplayName();
|
||||
npc.advanced.soulStoneInit = true;
|
||||
if(npc.advanced.role == EnumRoleType.Companion && player != null){
|
||||
PlayerData data = PlayerDataController.instance.getPlayerData(player);
|
||||
PlayerData data = PlayerDataController.Instance.getPlayerData(player);
|
||||
if(data.hasCompanion())
|
||||
return false;
|
||||
((RoleCompanion)npc.roleInterface).setOwner(player);
|
||||
|
||||
Reference in new issue
Block a user