diff --git a/.gitignore b/.gitignore index 67d85e2..149bfd4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,8 @@ /* # include important folders -# need gradle +!build.bat +# need gradle !gradle/ !gradlew !gradlew.bat @@ -24,4 +25,4 @@ # code format to reduce noise in git commits !codeformat/ -*.psd \ No newline at end of file +*.psd diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..a1a5354 --- /dev/null +++ b/build.bat @@ -0,0 +1,4 @@ +@echo off +title Rory's Mod (Gradlew Build) +gradlew build +pause diff --git a/src/main/java/net/roryclaasen/rorysmod/RorysMod.java b/src/main/java/net/roryclaasen/rorysmod/RorysMod.java index d6b74d7..9ed87dc 100644 --- a/src/main/java/net/roryclaasen/rorysmod/RorysMod.java +++ b/src/main/java/net/roryclaasen/rorysmod/RorysMod.java @@ -87,6 +87,7 @@ public void init(FMLInitializationEvent event) { RMLog.info("Registering Recipes"); blocks.createRecipes(); items.createRecipes(); + RMLog.info("Registering everything else"); registerEventHandlers(); @@ -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");