Rename CmdCape --> CmdCapeAbstract
This commit is contained in:
parent
c4868935ed
commit
75c6257000
@ -265,8 +265,6 @@ public class ConfServer extends SimpleConfig
|
|||||||
// TODO: A better solution Would be to have One wilderness faction per world.
|
// TODO: A better solution Would be to have One wilderness faction per world.
|
||||||
//public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<String>();
|
//public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<String>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
{
|
{
|
||||||
factionFlagDefaults = new LinkedHashMap<FFlag, Boolean>();
|
factionFlagDefaults = new LinkedHashMap<FFlag, Boolean>();
|
||||||
|
@ -40,6 +40,8 @@ public class MainListener implements Listener
|
|||||||
// -------------------------------------------- //
|
// -------------------------------------------- //
|
||||||
// TODO: These spout related methods should not be in here.
|
// TODO: These spout related methods should not be in here.
|
||||||
// The spout integration needs to be moved elsewhere.
|
// The spout integration needs to be moved elsewhere.
|
||||||
|
// NOTE: Also the spout integration should not have method calls from within FactionsCore code,
|
||||||
|
// we should instead listen to FactionsCore events. And send client updates upon non-cancelled monitor.
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
|
|
||||||
|
@ -7,12 +7,12 @@ import org.bukkit.command.CommandSender;
|
|||||||
import com.massivecraft.factions.FPerm;
|
import com.massivecraft.factions.FPerm;
|
||||||
import com.massivecraft.factions.Faction;
|
import com.massivecraft.factions.Faction;
|
||||||
|
|
||||||
public abstract class CapeCommand extends FCommand
|
public abstract class CmdCapeAbstract extends FCommand
|
||||||
{
|
{
|
||||||
public Faction capeFaction;
|
public Faction capeFaction;
|
||||||
public String currentCape;
|
public String currentCape;
|
||||||
|
|
||||||
public CapeCommand()
|
public CmdCapeAbstract()
|
||||||
{
|
{
|
||||||
this.optionalArgs.put("faction", "your");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
@ -2,7 +2,7 @@ package com.massivecraft.factions.cmd;
|
|||||||
|
|
||||||
import com.massivecraft.factions.Perm;
|
import com.massivecraft.factions.Perm;
|
||||||
|
|
||||||
public class CmdCapeGet extends CapeCommand
|
public class CmdCapeGet extends CmdCapeAbstract
|
||||||
{
|
{
|
||||||
public CmdCapeGet()
|
public CmdCapeGet()
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@ import com.massivecraft.factions.Perm;
|
|||||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||||
import com.massivecraft.factions.util.RelationUtil;
|
import com.massivecraft.factions.util.RelationUtil;
|
||||||
|
|
||||||
public class CmdCapeRemove extends CapeCommand
|
public class CmdCapeRemove extends CmdCapeAbstract
|
||||||
{
|
{
|
||||||
|
|
||||||
public CmdCapeRemove()
|
public CmdCapeRemove()
|
||||||
|
@ -6,7 +6,7 @@ import com.massivecraft.factions.Perm;
|
|||||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||||
import com.massivecraft.factions.util.RelationUtil;
|
import com.massivecraft.factions.util.RelationUtil;
|
||||||
|
|
||||||
public class CmdCapeSet extends CapeCommand
|
public class CmdCapeSet extends CmdCapeAbstract
|
||||||
{
|
{
|
||||||
|
|
||||||
public CmdCapeSet()
|
public CmdCapeSet()
|
||||||
|
Loading…
Reference in New Issue
Block a user