In progress: Using MassiveCraftCore and Allman indentation style and minor refactoring.
This commit is contained in:
@@ -12,7 +12,7 @@ import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import com.massivecraft.factions.Conf;
|
||||
import com.massivecraft.factions.Factions;
|
||||
import com.massivecraft.factions.P;
|
||||
import com.massivecraft.factions.integration.SpoutFeatures;
|
||||
|
||||
public class FCommandConfig extends FBaseCommand {
|
||||
@@ -32,7 +32,7 @@ public class FCommandConfig extends FBaseCommand {
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(CommandSender sender) {
|
||||
return Factions.hasPermConfigure(sender);
|
||||
return P.hasPermConfigure(sender);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -222,7 +222,7 @@ public class FCommandConfig extends FBaseCommand {
|
||||
if (!success.isEmpty()) {
|
||||
sendMessage(success);
|
||||
if (sender instanceof Player) {
|
||||
Factions.log(success + " Command was run by "+player.getName()+".");
|
||||
P.log(success + " Command was run by "+player.getName()+".");
|
||||
}
|
||||
}
|
||||
// save change to disk
|
||||
|
||||
Reference in New Issue
Block a user