Added handler support to NPC API.

This commit is contained in:
luisc committed 2022-01-10 15:21:48 -06:00
1 parent 69f96519dc
commit d50f51e208
40 files changed
+1471 -56

No files matched your search

@@ -52,7 +52,7 @@ public class FactionOptions {
addPoints(player, data, faction2Id, decreaseFaction2Points, faction2Points);
}
private void addPoints(EntityPlayer player, PlayerFactionData data, int factionId, boolean decrease, int points) {
Faction faction = FactionController.getInstance().getFaction(factionId);
Faction faction = FactionController.getInstance().get(factionId);
if(faction == null)
return;