Compare commits

..

No commits in common. "6f3359cb120df0000a2cc12a07437e7094795d2a" and "214212ee928c77ef90132fcfae44523cf53142bd" have entirely different histories.

4 changed files with 2 additions and 6 deletions

View File

@ -1 +1 @@
modlib.mod.init()
modlib.mod.init("cycle_limit")

View File

@ -21,7 +21,6 @@ minetest.register_privilege("cycle_limit", {
local interact = config.interact
if interact then
minetest.registered_privileges.interact.give_to_singleplayer = false
minetest.register_privilege("interact_mods", {
description = "Can be granted interact by mods",
give_to_singleplayer = true,
@ -35,6 +34,7 @@ if interact then
local privs = minetest.get_player_privs(name)
privs.interact = value or nil
minetest.set_player_privs(name, privs)
privs = minetest.get_player_privs(name)
end
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -1,4 +0,0 @@
cycle_limit.interact (Cycle limit interact) bool true
cycle_limit.duration (Cycle limit duration) float 2 0.000000 1073741824.000000
cycle_limit.name (Cycle limit name) string Switching
cycle_limit.color (Cycle limit color) string 545AA7