Remove usage of TUBE_CONNECTION_CAPABILITY, in favor of using toggleable capabilities

This commit is contained in:
pupnewfster authored and Dave Smith committed 2019-04-02 12:50:14 -07:00
1 parent c9f4a90dba
commit 66d0bca37c
24 files changed
+262 -238

No files matched your search

@@ -183,12 +183,8 @@ public interface IFactory {
return false;
}
public boolean canTubeConnect(EnumFacing side) {
if (fuelType == MachineFuelType.ADVANCED) {
return getTile().canTubeConnect(side);
}
return false;
public boolean supportsGas() {
return fuelType == MachineFuelType.ADVANCED;
}
public boolean isValidGas(Gas gas) {