Fixed crashing with Terra. Closes #1864
This commit is contained in:
parent
c9cfab8065
commit
df04ab8727
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ public class GuiEventHandler
|
|||
{
|
||||
for (BiomeGeneratorTypeScreens screen : BiomeGeneratorTypeScreens.PRESETS)
|
||||
{
|
||||
// Skip screens that don't use a TranslationTextComponent because definitely they're not ours
|
||||
if (!(screen.description instanceof TranslationTextComponent))
|
||||
continue;
|
||||
|
||||
TranslationTextComponent desc = (TranslationTextComponent)screen.description;
|
||||
|
||||
if (desc.getKey().equals("generator.minecraft.biomesoplenty"))
|
||||
|
|
Loading…
Reference in a new issue