mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 20:59:16 +01:00
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.
|
||||
//public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<String>();
|
||||
|
||||
|
||||
|
||||
static
|
||||
{
|
||||
factionFlagDefaults = new LinkedHashMap<FFlag, Boolean>();
|
||||
|
@ -40,6 +40,8 @@ public class MainListener implements Listener
|
||||
// -------------------------------------------- //
|
||||
// TODO: These spout related methods should not be in here.
|
||||
// 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
|
||||
|
||||
|
@ -7,12 +7,12 @@ import org.bukkit.command.CommandSender;
|
||||
import com.massivecraft.factions.FPerm;
|
||||
import com.massivecraft.factions.Faction;
|
||||
|
||||
public abstract class CapeCommand extends FCommand
|
||||
public abstract class CmdCapeAbstract extends FCommand
|
||||
{
|
||||
public Faction capeFaction;
|
||||
public String currentCape;
|
||||
|
||||
public CapeCommand()
|
||||
public CmdCapeAbstract()
|
||||
{
|
||||
this.optionalArgs.put("faction", "your");
|
||||
|
@ -2,7 +2,7 @@ package com.massivecraft.factions.cmd;
|
||||
|
||||
import com.massivecraft.factions.Perm;
|
||||
|
||||
public class CmdCapeGet extends CapeCommand
|
||||
public class CmdCapeGet extends CmdCapeAbstract
|
||||
{
|
||||
public CmdCapeGet()
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ import com.massivecraft.factions.Perm;
|
||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||
import com.massivecraft.factions.util.RelationUtil;
|
||||
|
||||
public class CmdCapeRemove extends CapeCommand
|
||||
public class CmdCapeRemove extends CmdCapeAbstract
|
||||
{
|
||||
|
||||
public CmdCapeRemove()
|
||||
|
@ -6,7 +6,7 @@ import com.massivecraft.factions.Perm;
|
||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||
import com.massivecraft.factions.util.RelationUtil;
|
||||
|
||||
public class CmdCapeSet extends CapeCommand
|
||||
public class CmdCapeSet extends CmdCapeAbstract
|
||||
{
|
||||
|
||||
public CmdCapeSet()
|
||||
|
Loading…
Reference in New Issue
Block a user