Require a Hohlraum filled up to the max with D-T fuel in order to trigger a reaction
This commit is contained in:
parent
46eb5aa288
commit
84a1fa95ae
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ public class FusionReactor implements IFusionReactor
|
||||||
if(hohlraum != null && hohlraum.getItem() instanceof ItemHohlraum)
|
if(hohlraum != null && hohlraum.getItem() instanceof ItemHohlraum)
|
||||||
{
|
{
|
||||||
GasStack gasStack = ((ItemHohlraum)hohlraum.getItem()).getGas(hohlraum);
|
GasStack gasStack = ((ItemHohlraum)hohlraum.getItem()).getGas(hohlraum);
|
||||||
return gasStack != null && gasStack.getGas() == GasRegistry.getGas("fusionFuelDT") && gasStack.amount > 0;
|
return gasStack != null && gasStack.getGas() == GasRegistry.getGas("fusionFuelDT") && gasStack.amount == ItemHohlraum.MAX_GAS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue