Skip to content

Commit

Permalink
make sound manager methods public to fix compatability with MAtmos AT's
Browse files Browse the repository at this point in the history
  • Loading branch information
mist475 committed Jan 11, 2024
1 parent 9ac7ce1 commit 464a2db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class MixinSoundManager {
* @reason Cache urls?
*/
@Overwrite
private static URL getURLForSoundResource(ResourceLocation p_148612_0_) {
public static URL getURLForSoundResource(ResourceLocation p_148612_0_) {
return SoundCache.getURLForSoundResource(p_148612_0_);
}

Expand All @@ -32,7 +32,7 @@ private static URL getURLForSoundResource(ResourceLocation p_148612_0_) {
* @reason Handle pitch ourselves
*/
@Overwrite
private float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_) {
public float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_) {
return org.blockartistry.mod.DynSurround.client.sound.SoundManager.getNormalizedPitch(p_148606_1_, p_148606_2_);
}

Expand All @@ -41,7 +41,7 @@ private float getNormalizedPitch(ISound p_148606_1_, SoundPoolEntry p_148606_2_)
* @reason Handle volume ourselves
*/
@Overwrite
private float getNormalizedVolume(ISound p_148594_1_, SoundPoolEntry p_148594_2_, SoundCategory p_148594_3_) {
public float getNormalizedVolume(ISound p_148594_1_, SoundPoolEntry p_148594_2_, SoundCategory p_148594_3_) {
return org.blockartistry.mod.DynSurround.client.sound.SoundManager.getNormalizedVolume(p_148594_1_, p_148594_2_, p_148594_3_);
}

Expand Down

0 comments on commit 464a2db

Please sign in to comment.