Move sound category initialisation to preInit and replace the colon with an underscore, fixes #198

I should learn to read, it's literally written in the javadoc for CustomSoundCategory...
This commit is contained in:
Electroblob77
2019-09-03 15:45:25 +01:00
parent 037f340a03
commit 931c99617c
4 changed files with 7 additions and 8 deletions
@@ -113,6 +113,8 @@ public class Wizardry {
proxy.registerRenderers();
proxy.registerKeyBindings();
WizardrySounds.SPELLS = CustomSoundCategory.add(Wizardry.MODID + "_spells");
WizardryBaublesIntegration.init();
WizardryAntiqueAtlasIntegration.init();
@@ -151,8 +153,6 @@ public class Wizardry {
proxy.initGuiBits();
proxy.registerParticles();
proxy.registerSoundEventListener();
WizardrySounds.SPELLS = CustomSoundCategory.add(Wizardry.MODID + ":spells");
}
@EventHandler