From b60b1044bcf56302505887155e6ad4d5a7595eb8 Mon Sep 17 00:00:00 2001 From: Gregorius Techneticies Date: Sun, 5 Jan 2025 12:45:36 +0100 Subject: [PATCH] reduced the timeout of sounds so things work normally again --- src/main/java/gregapi/network/packets/PacketSound.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregapi/network/packets/PacketSound.java b/src/main/java/gregapi/network/packets/PacketSound.java index 503b39cc9..d9796cdd5 100644 --- a/src/main/java/gregapi/network/packets/PacketSound.java +++ b/src/main/java/gregapi/network/packets/PacketSound.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2019 Gregorius Techneticies + * Copyright (c) 2024 GregTech-6 Team * * This file is part of GregTech. * @@ -21,7 +21,6 @@ import com.google.common.io.ByteArrayDataInput; import com.google.common.io.ByteArrayDataOutput; - import gregapi.network.INetworkHandler; import gregapi.util.UT; import net.minecraft.util.ChunkCoordinates; @@ -72,6 +71,6 @@ public PacketCoordinates decode2(int aX, int aY, int aZ, ByteArrayDataInput aDat @Override public void process(IBlockAccess aWorld, INetworkHandler aNetworkHandler) { - UT.Sounds.play(mSoundName, 10, mSoundStrength, mSoundPitch, mX, mY, mZ); + UT.Sounds.play(mSoundName, 2, mSoundStrength, mSoundPitch, mX, mY, mZ); } }