Factions/src/com/massivecraft/factions/cmd/FCommand.java

20 lines
454 B
Java
Raw Normal View History

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;
import com.massivecraft.mcore.cmd.MCommand;
2011-10-08 23:22:02 +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
public void fixSenderVars()
2011-10-08 23:22:02 +02:00
{
this.fme = FPlayerColl.get().get(this.sender);
this.myFaction = this.fme.getFaction();
2011-10-08 23:22:02 +02:00
}
}