mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
Bug fixes and improvements (#16)
* Bug fixes and improvements * Re-add Marco's name * Actually make the logfile page load.
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 && !plugin.al.isAdmin(player))
|
||||
if (doSetGamemode && !player.getGameMode().equals(GameMode.SPECTATOR))
|
||||
{
|
||||
player.setGameMode(targetGamemode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user