Skip to content

Commit

Permalink
Fix crash following refactor (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdoru authored Oct 10, 2024
1 parent 82b8ae9 commit 841c4fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
6 changes: 3 additions & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.49.111:dev')
api('com.github.GTNewHorizons:GT5-Unofficial:5.09.50.35:dev')
api('com.github.GTNewHorizons:Galaxy-Space-GTNH:1.1.94-GTNH:dev')
api('com.github.GTNewHorizons:GTNHLib:0.5.11:dev')
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.5.62:dev") {transitive = false}
api('com.github.GTNewHorizons:GTNHLib:0.5.13:dev')
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.5.71:dev") {transitive = false}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.World;
Expand Down Expand Up @@ -54,10 +53,9 @@
import com.gtnewhorizons.modularui.common.widget.SlotWidget;
import com.gtnewhorizons.modularui.common.widget.TextWidget;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import galaxyspace.core.register.GSBlocks;
import gregtech.api.enums.Materials;
import gregtech.api.enums.SoundResource;
import gregtech.api.enums.Textures;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
Expand All @@ -75,7 +73,6 @@
import micdoodle8.mods.galacticraft.core.util.GCCoreUtil;
import micdoodle8.mods.galacticraft.core.util.WorldUtil;
import tectech.thing.gui.TecTechUITextures;
import tectech.thing.metaTileEntity.multi.MTEEnergyInfuser;
import tectech.thing.metaTileEntity.multi.base.TTMultiblockBase;
import tectech.thing.metaTileEntity.multi.base.render.TTRenderedExtendedFacingTexture;

Expand Down Expand Up @@ -643,15 +640,9 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
}
}

/**
* Get the sound for when the machine is active
*
* @return Location of the sound
*/
@Override
@SideOnly(Side.CLIENT)
protected ResourceLocation getActivitySound() {
return MTEEnergyInfuser.activitySound;
protected SoundResource getActivitySoundLoop() {
return SoundResource.TECTECH_MACHINES_FX_WHOOUM;
}

// endregion
Expand Down

0 comments on commit 841c4fb

Please sign in to comment.