Fix use of Fuel Registry (it is null not, 0 for unregistered items).

Fix Vibration Chamber inventory filter.
Fix Molecular Assembler inventory filter.
This commit is contained in:
Sebastian Hartte
2020-08-24 20:58:49 +02:00
parent 90ad345672
commit 858826d1fa
5 changed files with 79 additions and 88 deletions
@@ -165,7 +165,7 @@ public class RestrictedInputSlot extends AppEngSlot {
case ORE:
return GrinderRecipes.isValidIngredient(p.player.world, stack);
case FUEL:
return FuelRegistry.INSTANCE.get(stack.getItem()) > 0;
return FuelRegistry.INSTANCE.get(stack.getItem()) != null;
case POWERED_TOOL:
return Platform.isChargeable(stack);
case QE_SINGULARITY: