Main Class Renamed and Instance Method
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.massivecraft.factions.cmd.alts;
|
||||
|
||||
import com.massivecraft.factions.SaberFactions;
|
||||
import com.massivecraft.factions.P;
|
||||
import com.massivecraft.factions.cmd.FCommand;
|
||||
import com.massivecraft.factions.struct.Permission;
|
||||
import com.massivecraft.factions.zcore.util.TL;
|
||||
@@ -34,13 +34,13 @@ public class CmdAlts extends FCommand {
|
||||
|
||||
@Override
|
||||
public void perform() {
|
||||
if (!SaberFactions.plugin.getConfig().getBoolean("f-alts.Enabled", false)) {
|
||||
if (!P.p.getConfig().getBoolean("f-alts.Enabled", false)) {
|
||||
fme.msg(TL.GENERIC_DISABLED);
|
||||
return;
|
||||
}
|
||||
|
||||
this.commandChain.add(this);
|
||||
SaberFactions.plugin.cmdAutoHelp.execute(this.sender, this.args, this.commandChain);
|
||||
P.p.cmdAutoHelp.execute(this.sender, this.args, this.commandChain);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user