mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-15 09:44:50 +00:00
Fixed Inoculator don't need Bacteria Vector to process #66
This commit is contained in:
1 parent
dde90817d7
commit
dc2c63c856
1 file changed
+3
@@ -104,6 +104,9 @@ public class InoculatorLogic extends ComponentProcess implements IProcess {
|
||||
if (!serum.isEmpty() && Engineering.getCharges(serum) == 0) {
|
||||
return new ErrorState(Genetics.proxy.localise("machine.errors.empty.serum.desc"), Genetics.proxy.localise("machine.errors.empty.serum.info"));
|
||||
}
|
||||
if (getUtil().isTankEmpty(Inoculator.TANK_VEKTOR)) {
|
||||
return new ErrorState.InsufficientLiquid(Genetics.proxy.localise("machine.machine.inoculator.errors.insufficient.vector"), Inoculator.TANK_VEKTOR);
|
||||
}
|
||||
return super.canWork();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user