Fixed #8168
This commit is contained in:
@@ -1277,6 +1277,7 @@ public class Blocks{
|
||||
heatOutput = 3f;
|
||||
regionRotated1 = 1;
|
||||
ambientSound = Sounds.hum;
|
||||
itemCapacity = 0;
|
||||
consumePower(100f / 60f);
|
||||
}};
|
||||
|
||||
@@ -1287,6 +1288,7 @@ public class Blocks{
|
||||
|
||||
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(Liquids.slag), new DrawDefault(), new DrawHeatOutput());
|
||||
size = 3;
|
||||
itemCapacity = 0;
|
||||
liquidCapacity = 40f;
|
||||
rotateDraw = false;
|
||||
regionRotated1 = 1;
|
||||
|
||||
@@ -61,7 +61,9 @@ public class GenericCrafter extends Block{
|
||||
public void setStats(){
|
||||
stats.timePeriod = craftTime;
|
||||
super.setStats();
|
||||
stats.add(Stat.productionTime, craftTime / 60f, StatUnit.seconds);
|
||||
if((hasItems && itemCapacity > 0) || outputItems != null){
|
||||
stats.add(Stat.productionTime, craftTime / 60f, StatUnit.seconds);
|
||||
}
|
||||
|
||||
if(outputItems != null){
|
||||
stats.add(Stat.output, StatValues.items(craftTime, outputItems));
|
||||
|
||||
Reference in New Issue
Block a user