diff --git a/README.md b/README.md index 7e17ac3..3252707 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,5 @@ Textures: CC0 * 2018-04-12 v0.17 "area owner changed" bug fixed (issue #3) * 2018-05-28 v1.0 Mod released * 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) + diff --git a/control.lua b/control.lua index 27b9eef..b120073 100644 --- a/control.lua +++ b/control.lua @@ -217,6 +217,10 @@ local function control_player(pos, pos1, pos2, player_name) end minetest.after(1, control_player, pos, pos1, pos2, player_name) end + else + store_last_used(pos) + place_player(pos, player) + reset_operator_privs(player) end else local meta = minetest.get_meta(pos)