ARLAJGAGAPGEPVECH

This commit is contained in:
alisolarflare 2016-11-03 07:04:02 -04:00
parent 1dfef6a08d
commit c3f642c65b

View file

@ -9,11 +9,9 @@ import alisolarflare.MainPlugin;
import alisolarflare.buttonminigames.freeforall.data.SpawnSet;
public class SetFFAS implements CommandExecutor{
private MainPlugin plugin;
private SpawnSet spawnSet;
public SetFFAS(MainPlugin plugin, SpawnSet spawnSet){
this.plugin = plugin;
public SetFFAS(SpawnSet spawnSet){
this.spawnSet = spawnSet;
}
@SuppressWarnings("deprecation")
@ -24,7 +22,7 @@ public class SetFFAS implements CommandExecutor{
}
Player player = (Player) sender;
if(!(player.equals(plugin.getServer().getPlayer("Alisolarflare")))){
if(!(player.getName().equalsIgnoreCase("Alisolarflare"))){
player.sendMessage("ERROR: You must be Alisolarflare to use this command!");
}