Merge branch 'master' into chat-command-builder
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 965 B |
|
@ -115,10 +115,11 @@ minetest.register_entity("wieldview:wieldnode", {
|
|||
local def = minetest.registered_items[itemstring]
|
||||
self.object:set_properties({glow = def and def.light_source or 0})
|
||||
|
||||
-- wield item as cubic
|
||||
-- wield item as cubic
|
||||
if armor.textures[self.wielder].wielditem == "blank.png" then
|
||||
self.object:set_properties({textures = {itemstring}})
|
||||
else -- wield item as flat
|
||||
-- wield item as flat
|
||||
else
|
||||
self.object:set_properties({textures = {""}})
|
||||
end
|
||||
|
||||
|
|