2013-04-19 12:27:39 +02:00
|
|
|
package com.massivecraft.factions.event;
|
|
|
|
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
|
2013-04-22 09:37:53 +02:00
|
|
|
import com.massivecraft.factions.entity.FPlayer;
|
2013-04-19 12:27:39 +02:00
|
|
|
import com.massivecraft.mcore.event.MCoreEvent;
|
|
|
|
|
|
|
|
public abstract class FactionsEventAbstractSender extends MCoreEvent
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// FIELDS
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
private final CommandSender sender;
|
|
|
|
public CommandSender getSender() { return this.sender; }
|
|
|
|
public FPlayer getFSender() { return FPlayer.get(this.sender); }
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// CONSTRUCT
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
|
|
|
public FactionsEventAbstractSender(CommandSender sender)
|
|
|
|
{
|
|
|
|
this.sender = sender;
|
|
|
|
}
|
|
|
|
}
|