Extract ++ and -- from expressions

This commit is contained in:
thatsIch
2015-03-26 11:07:26 +01:00
parent b31f2df58d
commit 9bf8b4388f
26 changed files with 89 additions and 40 deletions
@@ -326,7 +326,8 @@ public class AdaptorIInventory extends InventoryAdaptor
this.is.isExtractable = AdaptorIInventory.this.canRemoveStackFromSlot( this.x, iss );
this.is.setItemStack( iss );
this.is.slot = this.x++;
this.is.slot = this.x;
this.x++;
return this.is;
}
@@ -50,7 +50,8 @@ public class IMEAdaptorIterator implements Iterator<ItemSlot>
@Override
public ItemSlot next()
{
this.slot.slot = this.offset++;
this.slot.slot = this.offset;
this.offset++;
this.slot.isExtractable=true;
if ( this.parent.maxSlots < this.offset )