mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2025-02-11 19:39:11 +00:00
commit
c6ca262472
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue