Fixed the compost taking seconds to convert

This commit is contained in:
Ellpeck 2015-12-16 22:33:13 +01:00
parent b5f6450d0a
commit de6685dd22

View file

@ -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;
}