Merge pull request #39 from WickedGamingUK/patch-5

Fixed survival -a
This commit is contained in:
Jerom van der Sar 2013-06-09 13:29:41 -07:00
commit c6ca262472

View File

@ -40,11 +40,11 @@ public class Command_survival extends TFM_Command
{
if(!TFM_SuperadminList.isUserSuperadmin(p))
{
player.setGameMode(GameMode.CREATIVE);
player.setGameMode(GameMode.SURVIVAL);
}
}
Bukkit.broadcastMessage(ChatColor.AQUA + sender.getName() + " - Setting all non-admins gamemode to creative.");
Bukkit.broadcastMessage(ChatColor.AQUA + sender.getName() + " - Setting all non-admins gamemode to survival.");
return true;
}
}