Update uiitem.lua

Indentation
This commit is contained in:
4drik 2019-11-21 13:21:26 +01:00 committed by diath
parent 91a80017b4
commit 3019e88293

View File

@ -22,12 +22,12 @@ end
function UIItem:onDrop(widget, mousePos)
if not self:canAcceptDrop(widget, mousePos) then
return false
return false
end
local item = widget.currentDragThing
if not item:isItem() then
return false
return false
end
local itemPos = item:getPosition()
@ -38,7 +38,7 @@ function UIItem:onDrop(widget, mousePos)
local toPos = self.position
if itemPos.x == toPos.x and itemPos.y == toPos.y and itemPos.z == toPos.z then
return false
return false
end
if item:getCount() > 1 then