mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Made the compost update when putting things in with automation (damn.)
This commit is contained in:
parent
9917c07101
commit
7179fb01d1
1 changed files with 12 additions and 0 deletions
|
@ -61,6 +61,18 @@ public class TileEntityCompost extends TileEntityInventoryBase{
|
||||||
this.conversionTime = compound.getInteger("ConversionTime");
|
this.conversionTime = compound.getInteger("ConversionTime");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setInventorySlotContents(int i, ItemStack stack){
|
||||||
|
super.setInventorySlotContents(i, stack);
|
||||||
|
this.sendUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ItemStack decrStackSize(int i, int j){
|
||||||
|
this.sendUpdate();
|
||||||
|
return super.decrStackSize(i, j);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getInventoryStackLimit(){
|
public int getInventoryStackLimit(){
|
||||||
return AMOUNT;
|
return AMOUNT;
|
||||||
|
|
Loading…
Reference in a new issue