diff options
| author | Martin Robertz <dream-master@gmx.net> | 2023-01-14 21:41:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-14 21:41:52 +0100 |
| commit | 9f6c9e4b6e6af9f8ae71841c2c98a7645249c468 (patch) | |
| tree | c18f1eead6d04fc6bd2773f82db9dc80674ca66f | |
| parent | 3141dc2e46ca0adcac23400edb3f7fc059d8f5f6 (diff) | |
| parent | 855ac704428695b5d8cab9b4066158274b00d0c6 (diff) | |
| download | GT5-Unofficial-9f6c9e4b6e6af9f8ae71841c2c98a7645249c468.tar.gz GT5-Unofficial-9f6c9e4b6e6af9f8ae71841c2c98a7645249c468.tar.bz2 GT5-Unofficial-9f6c9e4b6e6af9f8ae71841c2c98a7645249c468.zip | |
Merge pull request #138 from GTNewHorizons/ImplementConnectionTypeGetter
Override connection type getter
3 files changed, 11 insertions, 1 deletions
diff --git a/dependencies.gradle b/dependencies.gradle index 4ed6d46096..de5c895fef 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -2,7 +2,7 @@ dependencies { shadowImplementation('com.github.GTNewHorizons:AVRcore:1.0.1') - compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.41.214:dev') + compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.41.217-pre:dev') compile('com.github.GTNewHorizons:ModularUI:1.0.38:dev') compile('com.github.GTNewHorizons:Yamcl:0.5.84:dev') compile('com.github.GTNewHorizons:NotEnoughItems:2.3.20-GTNH:dev') diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoTunnel.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoTunnel.java index 5deccd87e0..e25877817d 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoTunnel.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoTunnel.java @@ -101,6 +101,11 @@ public class GT_MetaTileEntity_Hatch_DynamoTunnel extends GT_MetaTileEntity_Hatc } @Override + public ConnectionType getConnectionType() { + return ConnectionType.LASER; + } + + @Override public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { return new GT_MetaTileEntity_Hatch_DynamoTunnel(mName, mTier, Amperes, mDescription, mTextures); } diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyTunnel.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyTunnel.java index 791b79cef8..ff46211db5 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyTunnel.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyTunnel.java @@ -99,6 +99,11 @@ public class GT_MetaTileEntity_Hatch_EnergyTunnel extends GT_MetaTileEntity_Hatc } @Override + public ConnectionType getConnectionType() { + return ConnectionType.LASER; + } + + @Override public MetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) { return new GT_MetaTileEntity_Hatch_EnergyTunnel(mName, mTier, Amperes, mDescription, mTextures); } |
