diff options
2 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/com/github/technus/tectech/compatibility/openmodularturrets/entity/projectiles/projectileEM.java b/src/main/java/com/github/technus/tectech/compatibility/openmodularturrets/entity/projectiles/projectileEM.java index 45592244c3..0390b2d61e 100644 --- a/src/main/java/com/github/technus/tectech/compatibility/openmodularturrets/entity/projectiles/projectileEM.java +++ b/src/main/java/com/github/technus/tectech/compatibility/openmodularturrets/entity/projectiles/projectileEM.java @@ -16,7 +16,7 @@ import com.github.technus.tectech.TecTech; import com.github.technus.tectech.mechanics.elementalMatter.core.stacks.EMInstanceStack; import com.github.technus.tectech.mechanics.elementalMatter.definitions.complex.EMHadronDefinition; -import gregtech.api.GregTech_API; +import gregtech.api.enums.SoundResource; import gregtech.api.util.GT_Utility; /** @@ -94,7 +94,7 @@ public class projectileEM extends LaserProjectile { && hitBlock.getMaterial().isSolid()) { GT_Utility.sendSoundToPlayers( worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1.0F, movingobjectposition.blockX, @@ -147,7 +147,7 @@ public class projectileEM extends LaserProjectile { if (TecTech.configTecTech.ENABLE_TURRET_EXPLOSIONS && antiMatter) { GT_Utility.sendSoundToPlayers( worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1.0F, (int) movingobjectposition.entityHit.posX, diff --git a/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java b/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java index f1332bd2cf..f5caf493e2 100644 --- a/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java +++ b/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java @@ -34,7 +34,7 @@ import com.github.technus.tectech.mechanics.elementalMatter.definitions.complex. import com.github.technus.tectech.util.TT_Utility; import cpw.mods.fml.common.gameevent.TickEvent; -import gregtech.api.GregTech_API; +import gregtech.api.enums.SoundResource; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import gregtech.api.util.GT_Utility; @@ -141,7 +141,7 @@ public class AnomalyHandler implements IChunkMetaDataHandler { } GT_Utility.sendSoundToPlayers( other.worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1, (int) other.posX, @@ -149,7 +149,7 @@ public class AnomalyHandler implements IChunkMetaDataHandler { (int) other.posZ); GT_Utility.sendSoundToPlayers( player.worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1, (int) player.posX, @@ -200,7 +200,7 @@ public class AnomalyHandler implements IChunkMetaDataHandler { } GT_Utility.sendSoundToPlayers( a.worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1, (a.xPosition << 4) + x, @@ -217,7 +217,7 @@ public class AnomalyHandler implements IChunkMetaDataHandler { } GT_Utility.sendSoundToPlayers( b.worldObj, - GregTech_API.sSoundList.get(209), + SoundResource.IC2_MACHINES_MACHINE_OVERLOAD, 1.0F, -1, (b.xPosition << 4) + x, |