mirror of
https://github.com/minetest-mods/towercrane.git
synced 2024-11-22 07:13:52 +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)
|
||||
if pos2 and vector.equals(pos, pos2) or minetest.check_player_privs(clicker, "server") then
|
||||
stop_crane(pos, clicker)
|
||||
reset_operator_privs(clicker)
|
||||
end
|
||||
end,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user