mirror of
https://github.com/APercy/ap_airship.git
synced 2025-07-21 06:44:47 -04:00
fixes and priv to anchor added
This commit is contained in:
parent
9c2b1a84cc
commit
232f5df95f
3 changed files with 16 additions and 4 deletions
6
init.lua
6
init.lua
|
@ -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
|
||||
-----------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue