mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-18 10:15:08 +01:00
feat: support NeoForge on 1.21.9
`@Environment` annotations had to be removed because NeoForge doesn't like them. Also, this brings down file size :)
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package eu.midnightdust.lib.config;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.minecraft.client.gui.DrawContext;
|
||||
import net.minecraft.client.gui.screen.Screen;
|
||||
import net.minecraft.client.gui.tab.GridScreenTab;
|
||||
@@ -28,7 +26,6 @@ import java.util.function.BiFunction;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public class MidnightConfigScreen extends Screen {
|
||||
public MidnightConfig instance;
|
||||
public final String translationPrefix, modid;
|
||||
|
||||
Reference in New Issue
Block a user