diff options
| author | shedaniel <daniel@shedaniel.me> | 2024-04-16 01:40:51 +0900 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2024-04-16 01:40:51 +0900 |
| commit | b41d3afffa61291ec98f775626364c1cc75ef2ca (patch) | |
| tree | 13764576d7f46fc62b96f4c3855c5e0b4d0d3da6 /runtime/src/main/java | |
| parent | 39f80eb8a929e439d45e229b66aea80c26627316 (diff) | |
| download | RoughlyEnoughItems-b41d3afffa61291ec98f775626364c1cc75ef2ca.tar.gz RoughlyEnoughItems-b41d3afffa61291ec98f775626364c1cc75ef2ca.tar.bz2 RoughlyEnoughItems-b41d3afffa61291ec98f775626364c1cc75ef2ca.zip | |
Fix build errors
Diffstat (limited to 'runtime/src/main/java')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/client/gui/config/REIConfigScreen.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/config/REIConfigScreen.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/config/REIConfigScreen.java index 7073df818..2dcf5323f 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/config/REIConfigScreen.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/config/REIConfigScreen.java @@ -58,7 +58,7 @@ import net.minecraft.client.gui.GuiComponent; import net.minecraft.client.gui.components.events.GuiEventListener; import net.minecraft.client.gui.screens.Screen; import net.minecraft.client.resources.language.I18n; -import net.minecraft.network.chat.Component; +import net.minecraft.network.chat.TranslatableComponent; import org.apache.commons.lang3.mutable.Mutable; import org.apache.commons.lang3.mutable.MutableObject; import org.jetbrains.annotations.Nullable; @@ -91,7 +91,7 @@ public class REIConfigScreen extends Screen implements ConfigAccess { } public REIConfigScreen(Screen parent, List<OptionCategory> categories) { - super(Component.translatable("config.roughlyenoughitems.title")); + super(new TranslatableComponent("config.roughlyenoughitems.title")); this.parent = parent; this.categories = CollectionUtils.map(categories, OptionCategory::copy); this.cleanRequiresLevel(); |
