Fixed a bug in the Ritual setting system.

Apparently `null` was being passed for the Will Config and the Will Holder. Seriously, who designed this system!?

... Oh.
This commit is contained in:
WayofTime 2020-11-09 17:12:35 -05:00
parent f9e78fcb40
commit bac2af8857
5 changed files with 26 additions and 6 deletions

View file

@ -274,8 +274,7 @@ public class RitualLava extends Ritual
@Override
public ITextComponent[] provideInformationOfRitualToPlayer(PlayerEntity player)
{
return new ITextComponent[]
{ new TranslationTextComponent(this.getTranslationKey() + ".info"),
return new ITextComponent[] { new TranslationTextComponent(this.getTranslationKey() + ".info"),
new TranslationTextComponent(this.getTranslationKey() + ".default.info"),
new TranslationTextComponent(this.getTranslationKey() + ".corrosive.info"),
new TranslationTextComponent(this.getTranslationKey() + ".steadfast.info"),