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:
mezz committed 2017-02-14 21:12:09 -08:00
1 parent fc0d144508
commit e93633d999
324 files changed
+1800 -1281

No files matched your search

+2 -2
View File
@@ -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();
}