Capital "I" for Instance

This commit is contained in:
Kam committed 2023-06-05 19:35:27 -04:00
1 parent 16d02f93e1
commit 54b46129a9
29 files changed
+95 -108

No files matched your search

@@ -83,7 +83,7 @@ public class ItemSoulstoneEmpty extends Item {
int p = npc.advanced.minFactionPointsToSoulStone;
if (p == -1 && npc.getFaction().isFriendlyToPlayer(player)) return true;
else if (p != -1) {
PlayerData data = PlayerDataController.instance.getPlayerData(player);
PlayerData data = PlayerDataController.Instance.getPlayerData(player);
return data.factionData.getFactionPoints(npc.getFaction().getId()) >= p;
}
}