From 245e31b39ebd30497c444bb3a41a5d500ca94238 Mon Sep 17 00:00:00 2001 From: Waiting Idly <25394029+WaitingIdly@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:35:16 -0700 Subject: [PATCH] fix botania lexicon not being added (#184) --- .../groovyscript/compat/mods/botania/Botania.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/cleanroommc/groovyscript/compat/mods/botania/Botania.java b/src/main/java/com/cleanroommc/groovyscript/compat/mods/botania/Botania.java index ac682b746..175193e9a 100644 --- a/src/main/java/com/cleanroommc/groovyscript/compat/mods/botania/Botania.java +++ b/src/main/java/com/cleanroommc/groovyscript/compat/mods/botania/Botania.java @@ -23,6 +23,12 @@ public class Botania extends GroovyPropertyContainer { public final Magnet magnet = new Magnet(); public final Flowers flowers = new Flowers(); + public Botania() { + addProperty(lexicon.category); + addProperty(lexicon.entry); + addProperty(lexicon.page); + } + public static LexiconCategory getCategory(String name) { for (LexiconCategory category : BotaniaAPI.getAllCategories()) if (category.getUnlocalizedName().equals(name)) return category;