mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 04:32:18 +00:00
ooops
This commit is contained in:
1 parent
b2969a172c
commit
06da4e3b8c
1 file changed
+1
-1
@@ -229,7 +229,7 @@ public abstract class AbstractMachineEntity extends TileEntityEio implements ISi
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private void updateSound() {
|
||||
if(Config.machineSoundsEnabled & isActive() && !isInvalid()) {
|
||||
if(Config.machineSoundsEnabled && isActive() && !isInvalid()) {
|
||||
if(sound == null) {
|
||||
sound = new MachineSound(soundRes, xCoord + 0.5f, yCoord + 0.5f, zCoord + 0.5f, getVolume(), getPitch());
|
||||
FMLClientHandler.instance().getClient().getSoundHandler().playSound(sound);
|
||||
|
||||
Reference in new issue
Block a user