Fixed setting a Tunnel Type to "Forge Energy". Forgot to edit the part that actually sets the tunnel.
This commit is contained in:
@@ -82,6 +82,8 @@ public interface IParts
|
||||
|
||||
IItemDefinition p2PTunnelRF();
|
||||
|
||||
IItemDefinition p2PTunnelFE();
|
||||
|
||||
IItemDefinition p2PTunnelLight();
|
||||
|
||||
// IItemDefinition p2PTunnelOpenComputers();
|
||||
|
||||
@@ -161,8 +161,13 @@ public final class P2PTunnelRegistry implements IP2PTunnelRegistry
|
||||
*/
|
||||
|
||||
this.addNewAttunement( "thermaldynamics", TunnelType.RF_POWER );
|
||||
this.addNewAttunement( "thermalexpansion", TunnelType.RF_POWER );
|
||||
this.addNewAttunement( "thermalfoundation", TunnelType.RF_POWER );
|
||||
// TODO: Remove when confirmed that the official 1.12 version of EnderIO will support FE.
|
||||
this.addNewAttunement( "enderio", TunnelType.RF_POWER );
|
||||
// TODO: Remove when confirmed that the official 1.12 version of Mekanism will support FE.
|
||||
this.addNewAttunement( "mekanism", TunnelType.RF_POWER );
|
||||
// TODO: Remove when support for RFTools' Powercells support is added
|
||||
this.addNewAttunement( "rftools", TunnelType.RF_POWER );
|
||||
this.addNewAttunement( "ic2", TunnelType.IC2_POWER );
|
||||
|
||||
|
||||
@@ -226,6 +226,10 @@ public abstract class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicSt
|
||||
newType = parts.p2PTunnelRF().maybeStack( 1 ).orElse( ItemStack.EMPTY );
|
||||
break;
|
||||
|
||||
case FE_POWER:
|
||||
newType = parts.p2PTunnelFE().maybeStack( 1 ).orElse( ItemStack.EMPTY );
|
||||
break;
|
||||
|
||||
case FLUID:
|
||||
newType = parts.p2PTunnelFluids().maybeStack( 1 ).orElse( ItemStack.EMPTY );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user