mirror of
https://github.com/minetest-mods/towercrane.git
synced 2024-11-26 01:03:45 +01:00
issue #7 (Privs not being restored) bugfix
This commit is contained in:
parent
5bcd049924
commit
1e4f161738
@ -244,7 +244,6 @@ minetest.register_node("towercrane:mast_ctrl_on", {
|
|||||||
local pos2 = get_my_crane_pos(clicker)
|
local pos2 = get_my_crane_pos(clicker)
|
||||||
if pos2 and vector.equals(pos, pos2) or minetest.check_player_privs(clicker, "server") then
|
if pos2 and vector.equals(pos, pos2) or minetest.check_player_privs(clicker, "server") then
|
||||||
stop_crane(pos, clicker)
|
stop_crane(pos, clicker)
|
||||||
reset_operator_privs(clicker)
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user