Fixes POM, and moves things around
This commit is contained in:
@ -0,0 +1,53 @@
|
||||
package com.massivecraft.factions.event;
|
||||
|
||||
import com.massivecraft.factions.entity.MPlayer;
|
||||
import com.massivecraft.factions.entity.Rank;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
public class EventFactionsRankChange extends EventFactionsAbstractSender {
|
||||
// -------------------------------------------- //
|
||||
// REQUIRED EVENT CODE
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// FIELDS
|
||||
// -------------------------------------------- //
|
||||
|
||||
private final MPlayer mplayer;
|
||||
|
||||
public MPlayer getMPlayer() {
|
||||
return this.mplayer;
|
||||
}
|
||||
|
||||
private Rank newRank;
|
||||
|
||||
public Rank getNewRank() {
|
||||
return this.newRank;
|
||||
}
|
||||
|
||||
public void setNewRank(Rank newRole) {
|
||||
this.newRank = newRole;
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
public EventFactionsRankChange(CommandSender sender, MPlayer mplayer, Rank newRank) {
|
||||
super(sender);
|
||||
this.mplayer = mplayer;
|
||||
this.newRank = newRank;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user