Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Last minute changes for release
Browse files Browse the repository at this point in the history
  • Loading branch information
roryclaasen committed Jan 30, 2016
1 parent 0aed7c6 commit 172729c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/*

# include important folders
# need gradle
!build.bat
# need gradle
!gradle/
!gradlew
!gradlew.bat
Expand All @@ -24,4 +25,4 @@
# code format to reduce noise in git commits
!codeformat/

*.psd
*.psd
4 changes: 4 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
title Rory's Mod (Gradlew Build)
gradlew build
pause
3 changes: 1 addition & 2 deletions src/main/java/net/roryclaasen/rorysmod/RorysMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void init(FMLInitializationEvent event) {
RMLog.info("Registering Recipes");
blocks.createRecipes();
items.createRecipes();
RMLog.info("Registering everything else");

registerEventHandlers();

Expand All @@ -102,8 +103,6 @@ public void init(FMLInitializationEvent event) {
public void postinit(FMLPostInitializationEvent event) {}

private void registerEventHandlers() {
RMLog.info("Registering events");

if (Arguments.isExperiment()) {
MinecraftForge.EVENT_BUS.register(new PlayerBedEventHandler());
} else RMLog.info("Skiping expiremntal Handlers");
Expand Down

0 comments on commit 172729c

Please sign in to comment.