mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 02:34:10 +00:00
26 lines
729 B
Java
26 lines
729 B
Java
package noppes.npcs.scripted.event;
|
|
|
|
import noppes.npcs.scripted.handler.data.IFaction;
|
|
import noppes.npcs.scripted.interfaces.IPlayer;
|
|
|
|
public class FactionEvent extends CustomNPCsEvent {
|
|
public final IFaction faction;
|
|
public final IPlayer player;
|
|
|
|
public FactionEvent(IPlayer player, IFaction faction){
|
|
this.faction = faction;
|
|
this.player = player;
|
|
}
|
|
|
|
public static class FactionPoints extends FactionEvent {
|
|
public boolean decrease;
|
|
public int points;
|
|
|
|
public FactionPoints(IPlayer player, IFaction faction, boolean decrease, int points) {
|
|
super(player, faction);
|
|
this.decrease = decrease;
|
|
this.points = points;
|
|
}
|
|
}
|
|
}
|