Remove wield image in item definition

This commit is contained in:
Austin Shenk
2013-07-01 18:58:49 -04:00
parent f6e125a1b4
commit f43dc80eb5
3 changed files with 41 additions and 8 deletions

View File

@ -234,7 +234,6 @@ for name, def in pairs(minetest.registered_tools) do
end
newdef.description = def.description.." "..special.description
newdef.inventory_image = def.inventory_image.."^specialties_"..special.name..".png"
newdef.wield_image = def.inventory_image.."^specialties_"..special.name..".png"
if(name:find(":hoe") ~= nil) then
newdef.on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "nothing" or pointed_thing.type == "object" or pointed_thing.above == nil then return itemstack end