mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 01:02:19 +00:00
Added handler support to NPC API.
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user