Fix comment indentation in wieldview

This commit is contained in:
Lizzy Fleckenstein 2021-04-06 16:02:18 +02:00
parent 1d587b8895
commit 38a12e59da
1 changed files with 3 additions and 2 deletions

View File

@ -115,10 +115,11 @@ minetest.register_entity("wieldview:wieldnode", {
local def = minetest.registered_items[itemstring] local def = minetest.registered_items[itemstring]
self.object:set_properties({glow = def and def.light_source or 0}) 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 if armor.textures[self.wielder].wielditem == "blank.png" then
self.object:set_properties({textures = {itemstring}}) self.object:set_properties({textures = {itemstring}})
else -- wield item as flat -- wield item as flat
else
self.object:set_properties({textures = {""}}) self.object:set_properties({textures = {""}})
end end