Update item-trigger.lua

whitespace removed
develop
AtomicChicken 2016-04-20 12:05:48 +02:00
parent 0d8a80c2ec
commit 68267d2ab3
1 changed files with 3 additions and 3 deletions

@ -65,10 +65,10 @@ function processTrigger(command)
end
function getitemType(item)
if item:getSubtype() ~= -1 then
if item:getSubtype() ~= -1 then
itemType = dfhack.items.getSubtypeDef(item:getType(),item:getSubtype()).id
else
itemType = df.item_type[item:getType()]
else
itemType = df.item_type[item:getType()]
end
return itemType
end