mirror of
https://github.com/minetest-mods/towercrane.git
synced 2024-11-22 15:23:51 +01:00
Bugfix issue #2 (Some players still have "fly" after detaching)
This commit is contained in:
parent
a89582368a
commit
ab77f8eccd
@ -56,3 +56,5 @@ Textures: CC0
|
|||||||
* 2018-04-12 v0.17 "area owner changed" bug fixed (issue #3)
|
* 2018-04-12 v0.17 "area owner changed" bug fixed (issue #3)
|
||||||
* 2018-05-28 v1.0 Mod released
|
* 2018-05-28 v1.0 Mod released
|
||||||
* 2019-09-08 v2.0 Completely restructured, protection areas removed
|
* 2019-09-08 v2.0 Completely restructured, protection areas removed
|
||||||
|
* 2019-12-03 v2.1 Bugfix issue #2 (Some players still have "fly" after detaching)
|
||||||
|
|
||||||
|
@ -217,6 +217,10 @@ local function control_player(pos, pos1, pos2, player_name)
|
|||||||
end
|
end
|
||||||
minetest.after(1, control_player, pos, pos1, pos2, player_name)
|
minetest.after(1, control_player, pos, pos1, pos2, player_name)
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
store_last_used(pos)
|
||||||
|
place_player(pos, player)
|
||||||
|
reset_operator_privs(player)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user