mirror of
https://github.com/tacigar/maidroid.git
synced 2025-01-25 15:00:22 +01:00
fix maidroid/api.lua
This commit is contained in:
parent
55486406f0
commit
28531f624b
@ -227,7 +227,7 @@ end)
|
||||
|
||||
if maidroid.is_maidroid(luaentity.name) then
|
||||
local stack = luaentity:get_wield_item_stack()
|
||||
if stack:get_name() ~= itemname then
|
||||
if stack:get_name() ~= self.itemname then
|
||||
if stack:is_empty() then
|
||||
self.itemname = "air"
|
||||
self.object:set_properties{textures=self.itemname}
|
||||
|
4
maidroid_core/cores/farming.lua
Normal file
4
maidroid_core/cores/farming.lua
Normal file
@ -0,0 +1,4 @@
|
||||
------------------------------------------------------------
|
||||
-- Copyright (c) 2016 tacigar. All rights reserved.
|
||||
-- https://github.com/tacigar/maidroid
|
||||
------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user