mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fixed interaction on right click
This commit is contained in:
parent
c06bda3fcc
commit
2aab0b4144
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ function airutils.on_rightclick(self, clicker)
|
||||||
--=========================
|
--=========================
|
||||||
-- attach pilot
|
-- attach pilot
|
||||||
--=========================
|
--=========================
|
||||||
elseif not self.driver_name and self._autoflymode == false then
|
elseif not self.driver_name and not self._autoflymode then
|
||||||
if self.owner == name or minetest.check_player_privs(clicker, {protection_bypass=true}) then
|
if self.owner == name or minetest.check_player_privs(clicker, {protection_bypass=true}) then
|
||||||
|
|
||||||
local itmstck=clicker:get_wielded_item()
|
local itmstck=clicker:get_wielded_item()
|
||||||
|
|
Loading…
Add table
Reference in a new issue