Skip to content

Commit

Permalink
Fix crash starting server
Browse files Browse the repository at this point in the history
  • Loading branch information
jaquadro committed Jun 27, 2017
1 parent 997f767 commit 7fe6be3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G

minecraft_base_version=1.12
minecraft_version=1.12
mod_version=5.1.1
mod_version=5.1.2
chameleon_version=4.0.1
chameleon_max_version=5.0.0

Expand Down
3 changes: 3 additions & 0 deletions src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry.ObjectHolder;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.registries.IForgeRegistry;
Expand Down Expand Up @@ -186,6 +188,7 @@ public static void registerRecipes (RegistryEvent.Register<IRecipe> event) {
}

@SubscribeEvent
@SideOnly(Side.CLIENT)
public static void registerModels (ModelRegistryEvent event) {
basicDrawers.initDynamic();
compDrawers.initDynamic();
Expand Down

0 comments on commit 7fe6be3

Please sign in to comment.