Extract ++ and -- from expressions
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user