mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +00:00
Add proper @SideOnly(Side.CLIENT) annotations
with help from Minecraft Dev Plugin https://plugins.jetbrains.com/idea/plugin/8327-minecraft-development
This commit is contained in:
1 parent
fc0d144508
commit
e93633d999
324 files changed
+1800
-1281
No files matched your search
@@ -54,7 +54,7 @@ import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
version = Constants.VERSION,
|
||||
guiFactory = "forestry.core.config.ForestryGuiConfigFactory",
|
||||
acceptedMinecraftVersions = "[1.11]",
|
||||
dependencies = "required-after:forge@[13.19.1.2189,);"
|
||||
dependencies = "required-after:forge@[13.20.0.2230,);"
|
||||
+ "after:JEI@[4.1.1,);")
|
||||
// + "after:" + PluginIC2.modId + ";")
|
||||
public class Forestry {
|
||||
@@ -101,7 +101,7 @@ public class Forestry {
|
||||
Preconditions.checkState(gameMode != null);
|
||||
ForestryAPI.activeMode = new GameMode(gameMode);
|
||||
|
||||
PluginManager.runPreInit();
|
||||
PluginManager.runPreInit(event.getSide());
|
||||
|
||||
Proxies.render.registerModels();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user