Fixed survival -a

I was a numpty and forgot to change the gamemode it changed people to.
This commit is contained in:
Dan Jones 2013-06-09 22:26:06 +02:00
parent 893c7c2991
commit c96bdea066

View File

@ -40,11 +40,11 @@ public class Command_survival extends TFM_Command
{ {
if(!TFM_SuperadminList.isUserSuperadmin(p)) 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; return true;
} }
} }