mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 12:23:47 +07:00
Spore press craft time fix
This commit is contained in:
parent
60cb4a2a73
commit
2beca30b0c
@ -1097,6 +1097,7 @@ public class Blocks{
|
||||
sporePress = new GenericCrafter("spore-press"){{
|
||||
requirements(Category.crafting, with(Items.lead, 35, Items.silicon, 30));
|
||||
liquidCapacity = 60f;
|
||||
craftTime = 20f;
|
||||
outputLiquid = new LiquidStack(Liquids.oil, 18f / 60f);
|
||||
size = 2;
|
||||
health = 320;
|
||||
|
@ -145,7 +145,7 @@ public class GenericCrafter extends Block{
|
||||
public void drawOverlay(float x, float y, int rotation){
|
||||
if(outputLiquids != null){
|
||||
for(int i = 0; i < outputLiquids.length; i++){
|
||||
int dir = liquidOutputDirections.length > i && liquidOutputDirections[i]!=-1 ? liquidOutputDirections[i] + rotation : -1;
|
||||
int dir = liquidOutputDirections.length > i && liquidOutputDirections[i] != -1 ? liquidOutputDirections[i] + rotation : -1;
|
||||
|
||||
if(dir != -1){
|
||||
Draw.rect(
|
||||
|
Loading…
Reference in New Issue
Block a user