This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
component:database [2015/08/12 21:30] rashy |
component:database [2015/08/12 21:30] rashy |
||
---|---|---|---|
Line 33: | Line 33: | ||
-- compare item inside remote inventory to item in first slot of database | -- compare item inside remote inventory to item in first slot of database | ||
- | if db.get(1).label == invcontrol.getStackInSlot(sides.north, 1) then | + | if db.get(1).label == invcontrol.getStackInSlot(sides.north, 1).label then |
-- items match, do stuff with it. | -- items match, do stuff with it. | ||
else | else |