From ed950322ff51d6f50e2ce35e2940926b589b23dd Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Sun, 8 Sep 2019 23:40:13 +0100 Subject: [PATCH] Temporarily disable the spells sound category to stop issue #238 from happening --- src/main/java/electroblob/wizardry/Wizardry.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/electroblob/wizardry/Wizardry.java b/src/main/java/electroblob/wizardry/Wizardry.java index 5be19f77..f9f7cd77 100644 --- a/src/main/java/electroblob/wizardry/Wizardry.java +++ b/src/main/java/electroblob/wizardry/Wizardry.java @@ -12,10 +12,10 @@ import electroblob.wizardry.misc.Forfeit; import electroblob.wizardry.packet.WizardryPacketHandler; import electroblob.wizardry.registry.*; import electroblob.wizardry.spell.Spell; -import electroblob.wizardry.util.CustomSoundCategory; import electroblob.wizardry.util.SpellProperties; import electroblob.wizardry.worldgen.*; import net.minecraft.item.Item; +import net.minecraft.util.SoundCategory; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.fml.common.Mod; @@ -113,7 +113,8 @@ public class Wizardry { proxy.registerRenderers(); proxy.registerKeyBindings(); - WizardrySounds.SPELLS = CustomSoundCategory.add(Wizardry.MODID + "_spells"); + // Commented out for 4.2.3 to get rid of the sound bug, reinstate once a fix is found. + WizardrySounds.SPELLS = SoundCategory.PLAYERS;//CustomSoundCategory.add(Wizardry.MODID + "_spells"); WizardryBaublesIntegration.init(); WizardryAntiqueAtlasIntegration.init();