mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 20:46:41 +00:00
More improvements. (#15)
* This is rediculous * Forgot some final and this * Fixed and improved skull caging * Windows wanted this yeah
This commit is contained in:
@ -38,7 +38,7 @@ public class Command_opall extends FreedomCommand
|
||||
player.setOp(true);
|
||||
player.sendMessage(FreedomCommand.YOU_ARE_OP);
|
||||
|
||||
if (doSetGamemode)
|
||||
if (doSetGamemode && !plugin.al.isAdmin(player))
|
||||
{
|
||||
player.setGameMode(targetGamemode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user