mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-23 21:49:46 +00:00
Fix most of the compile errors in the client package (#5137)
* Add KeyBinding#getKey and clean up errors in KeyModifier * Add dimension IRenderHandler patches * Fix most of the compile errors in client package. The rest are missing Block/KeyBinding patches * Disable selective reloads until configs are finished * Add OnlyIn on IForgeDimension to match those of Dimension
This commit is contained in:
1 parent
a0cef07a0b
commit
949a62a0da
13 files changed
+163
-91
No files matched your search
@@ -48,8 +48,9 @@ import net.minecraftforge.fml.client.config.GuiConfigEntries.IConfigEntry;
|
||||
import net.minecraftforge.fml.client.config.GuiConfigEntries.SelectValueEntry;
|
||||
import net.minecraftforge.fml.client.config.GuiConfigEntries.BooleanEntry;
|
||||
import net.minecraftforge.fml.client.config.IConfigElement;
|
||||
import net.minecraftforge.fml.common.Loader;
|
||||
import net.minecraftforge.fml.ModContainer;
|
||||
import net.minecraftforge.fml.ModList;
|
||||
|
||||
import static net.minecraftforge.common.ForgeMod.VERSION_CHECK_CAT;
|
||||
|
||||
/**
|
||||
@@ -399,7 +400,7 @@ public class ForgeGuiFactory implements IModGuiFactory
|
||||
@Override
|
||||
public void onGuiClosed()
|
||||
{
|
||||
Object modObject = Loader.instance().getModObjectList().get(Loader.instance().getIndexedModList().get(currentValue));
|
||||
Object modObject = ModList.get().getModContainerById(getCurrentValue());
|
||||
int maxTickets = 200;
|
||||
int maxChunks = 25;
|
||||
if (modObject != null)
|
||||
|
||||
Reference in new issue
Block a user