2011-10-09 21:57:43 +02:00
|
|
|
package com.massivecraft.factions.cmd;
|
2011-10-08 23:22:02 +02:00
|
|
|
|
|
|
|
import com.massivecraft.factions.FPlayer;
|
2013-04-09 13:22:23 +02:00
|
|
|
import com.massivecraft.factions.FPlayerColl;
|
2011-10-08 23:22:02 +02:00
|
|
|
import com.massivecraft.factions.Faction;
|
2013-04-16 09:48:57 +02:00
|
|
|
import com.massivecraft.mcore.cmd.MCommand;
|
2011-10-08 23:22:02 +02:00
|
|
|
|
2013-04-16 09:48:57 +02:00
|
|
|
public abstract class FCommand extends MCommand
|
2011-10-08 23:22:02 +02:00
|
|
|
{
|
|
|
|
public FPlayer fme;
|
2011-10-09 18:35:39 +02:00
|
|
|
public Faction myFaction;
|
2013-04-10 10:00:40 +02:00
|
|
|
|
2011-10-09 21:57:43 +02:00
|
|
|
@Override
|
2013-04-16 09:48:57 +02:00
|
|
|
public void fixSenderVars()
|
2011-10-08 23:22:02 +02:00
|
|
|
{
|
2013-04-16 09:48:57 +02:00
|
|
|
this.fme = FPlayerColl.get().get(this.sender);
|
|
|
|
this.myFaction = this.fme.getFaction();
|
2011-10-08 23:22:02 +02:00
|
|
|
}
|
|
|
|
}
|