mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
This commit is contained in:
1 parent
d10a623e51
commit
b49e45a03d
6 files changed
+25
-1
No files matched your search
@@ -191,6 +191,13 @@ public interface IFactory {
|
||||
return fuelType == MachineFuelType.ADVANCED;
|
||||
}
|
||||
|
||||
public boolean isValidGas(Gas gas) {
|
||||
if (fuelType == MachineFuelType.ADVANCED) {
|
||||
return getTile().isValidGas(gas);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasRecipe(ItemStack itemStack) {
|
||||
if (itemStack.isEmpty()) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user