mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-08 16:00:46 -07:00
Fixed GenericCrafter patch crash
This commit is contained in:
parent
65e4a22c84
commit
70c2010ea5
1 changed files with 10 additions and 0 deletions
|
|
@ -135,6 +135,16 @@ public class GenericCrafter extends Block{
|
|||
super.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPatch(){
|
||||
super.afterPatch();
|
||||
|
||||
outputsLiquid = outputLiquids != null;
|
||||
|
||||
if(outputItems != null) hasItems = true;
|
||||
if(outputLiquids != null) hasLiquids = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawPlanRegion(BuildPlan plan, Eachable<BuildPlan> list){
|
||||
drawer.drawPlan(this, plan, list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue