forked from ThomasMonroe314/ugxrealms
[unified_inventory] disable day/night buttons
This commit is contained in:
parent
17580e56c9
commit
9bd903b3c4
@ -89,6 +89,8 @@ unified_inventory.register_button("home_gui_go", {
|
||||
end,
|
||||
})
|
||||
|
||||
-- Not needed
|
||||
--[[
|
||||
unified_inventory.register_button("misc_set_day", {
|
||||
type = "image",
|
||||
image = "ui_sun_icon.png",
|
||||
@ -136,6 +138,7 @@ unified_inventory.register_button("misc_set_night", {
|
||||
return minetest.check_player_privs(player:get_player_name(), {settime=true})
|
||||
end,
|
||||
})
|
||||
--]]
|
||||
|
||||
unified_inventory.register_button("clear_inv", {
|
||||
type = "image",
|
||||
|
Loading…
x
Reference in New Issue
Block a user