mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +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");
|
||||
}
|
||||
|
||||
@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
|
||||
public int getInventoryStackLimit(){
|
||||
return AMOUNT;
|
||||
|
|
Loading…
Reference in a new issue