Skip to content

Commit

Permalink
reduced the timeout of sounds so things work normally again
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoriusT committed Jan 5, 2025
1 parent e0d6c20 commit b60b104
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/gregapi/network/packets/PacketSound.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2019 Gregorius Techneticies
* Copyright (c) 2024 GregTech-6 Team
*
* This file is part of GregTech.
*
Expand All @@ -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;
Expand Down Expand Up @@ -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);
}
}

0 comments on commit b60b104

Please sign in to comment.