Change default behaviour of Spell#createSoundWithSuffix to point to assets/modid/sounds.json rather than assets/ebwizardry/sounds.json, so addons don't have to override it
This commit is contained in:
@@ -294,7 +294,7 @@ public abstract class Spell extends IForgeRegistryEntry.Impl<Spell> implements C
|
||||
* @see Spell#createSoundsWithSuffixes(String[])
|
||||
*/
|
||||
public final SoundEvent createSoundWithSuffix(String suffix){
|
||||
return WizardrySounds.createSound("spell." + this.getRegistryName().getPath() + "." + suffix);
|
||||
return WizardrySounds.createSound(this.getRegistryName().getNamespace(), "spell." + this.getRegistryName().getPath() + "." + suffix);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user