mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fixed the compost taking seconds to convert
This commit is contained in:
parent
b5f6450d0a
commit
de6685dd22
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class TileEntityCompost extends TileEntityInventoryBase{
|
|||
boolean theFlag = this.conversionTime > 0;
|
||||
if(this.slots[0] != null && !(this.slots[0].getItem() instanceof ItemFertilizer) && this.slots[0].stackSize >= AMOUNT){
|
||||
this.conversionTime++;
|
||||
if(this.conversionTime >= AMOUNT){
|
||||
if(this.conversionTime >= 2000){
|
||||
this.slots[0] = new ItemStack(InitItems.itemFertilizer, AMOUNT);
|
||||
this.conversionTime = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue