aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/client/GT_SoundLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/client/GT_SoundLoop.java')
-rw-r--r--src/main/java/gregtech/client/GT_SoundLoop.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/gregtech/client/GT_SoundLoop.java b/src/main/java/gregtech/client/GT_SoundLoop.java
index 6692775d20..135ef032f5 100644
--- a/src/main/java/gregtech/client/GT_SoundLoop.java
+++ b/src/main/java/gregtech/client/GT_SoundLoop.java
@@ -61,8 +61,13 @@ public class GT_SoundLoop extends MovingSound {
volume += VOLUME_RAMP;
}
World world = Minecraft.getMinecraft().thePlayer.worldObj;
- donePlaying = world.provider.dimensionId != worldID || !world
- .checkChunksExist((int) xPosF, (int) yPosF, (int) zPosF, (int) xPosF, (int) yPosF, (int) zPosF);
+ donePlaying = world.provider.dimensionId != worldID || !world.checkChunksExist(
+ (int) xPosF,
+ (int) yPosF,
+ (int) zPosF,
+ (int) xPosF,
+ (int) yPosF,
+ (int) zPosF);
if (donePlaying) return;
TileEntity tile = world.getTileEntity((int) xPosF, (int) yPosF, (int) zPosF);
if ((tile instanceof IGregTechTileEntity)) {