fixes and priv to anchor added

This commit is contained in:
Alexsandro Percy 2023-03-03 21:20:12 -03:00
parent 9c2b1a84cc
commit 232f5df95f
3 changed files with 16 additions and 4 deletions

View file

@ -100,6 +100,12 @@ function ap_airship.minmax(v,m)
return math.min(math.abs(v),m)*ap_airship.sign(v)
end
minetest.register_privilege("ap_airship_anchor", {
description = "The player can anchor the airship anywhere in any speed",
give_to_singleplayer = false
})
-----------
-- items
-----------