diff options
author | evgengoldwar <69961523+evgengoldwar@users.noreply.github.com> | 2024-07-25 13:01:57 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 16:01:57 +0700 |
commit | 5a0cfd92ba396cd2c321c02639fcd93096696e7f (patch) | |
tree | 55e6250a86448f33a4b125730509484d7683f649 /src/main/java/goodgenerator | |
parent | ac8a80f18a98e218a1f240ccca37671d3b8697d1 (diff) | |
download | GT5-Unofficial-5a0cfd92ba396cd2c321c02639fcd93096696e7f.tar.gz GT5-Unofficial-5a0cfd92ba396cd2c321c02639fcd93096696e7f.tar.bz2 GT5-Unofficial-5a0cfd92ba396cd2c321c02639fcd93096696e7f.zip |
Fix Compact Fusion and Fusion and Cyclotron sound (#2738)
* Fix sound for Compact Fusion
* Fix sound for Cyclotron
* Fix sound for Fusion
* Apply spotless
Diffstat (limited to 'src/main/java/goodgenerator')
-rw-r--r-- | src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java index 80533b8a09..50039e19c5 100644 --- a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java +++ b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java @@ -36,6 +36,8 @@ import com.gtnewhorizons.modularui.common.widget.FakeSyncWidget; 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 gregtech.api.enums.GT_HatchElement; import gregtech.api.enums.GT_Values; import gregtech.api.enums.Materials; @@ -354,7 +356,7 @@ public abstract class LargeFusionComputer extends GT_MetaTileEntity_TooltipMulti .setErrorDisplayID((aBaseMetaTileEntity.getErrorDisplayID() & ~127) | (mMachine ? 0 : 64)); aBaseMetaTileEntity.setActive(mMaxProgresstime > 0); } else { - soundMagic(getActivitySound()); + soundMagic(getActivitySoundLoop()); } } @@ -564,8 +566,9 @@ public abstract class LargeFusionComputer extends GT_MetaTileEntity_TooltipMulti return false; } + @SideOnly(Side.CLIENT) @Override - protected ResourceLocation getActivitySound() { + protected ResourceLocation getActivitySoundLoop() { return SoundResource.GT_MACHINES_FUSION_LOOP.resourceLocation; } |