diff --git a/mods/PLAYER/mcl_hardcore/init.lua b/mods/PLAYER/mcl_hardcore/init.lua index 7c32d8ba9e..04902b258f 100644 --- a/mods/PLAYER/mcl_hardcore/init.lua +++ b/mods/PLAYER/mcl_hardcore/init.lua @@ -48,7 +48,9 @@ function mcl_hardcore.spectator_mode_disabled(player) player:set_armor_groups({immortal=0}) -- Try to preserve privs somewhat - if meta:get_string("gamemode") == "creative" then + if meta:get_string("gamemode") == "spectator" then + meta:set_string("gamemode","") + elseif meta:get_string("gamemode") == "creative" then privs.fast = nil privs.noclip = nil privs.interact = true