work around patch for https://github.com/minetest-mods/i3/issues/61
This commit is contained in:
parent
44d687f125
commit
b79f43ab3b
@ -64,6 +64,10 @@ minetest.register_privilege("creative", {
|
||||
description = "creative mode",
|
||||
give_to_singleplayer = false,
|
||||
give_to_admin = false,
|
||||
on_revoke = function(name, revoker_name)
|
||||
--this is a hack to work around https://github.com/minetest-mods/i3/issues/61
|
||||
i3.set_tab(minetest.get_player_by_name(name), "inventory")
|
||||
end
|
||||
})
|
||||
|
||||
if minetest.settings:get_bool("creative_mode") then
|
||||
|
Loading…
x
Reference in New Issue
Block a user