issue #7 (Privs not being restored) bugfix

This commit is contained in:
Joachim Stolberg 2020-05-02 13:57:07 +02:00
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,