Posted October 16, 20168 yr I switched over to the new registry event system, which works great, but I had an issue which caused a crash. Some of my Blocks and Biomes are constructed with variables that can be changed via a config and the new registry events fire before my config is initialized, which cause a NPE. I found a workaround and would like to know if this is the best solution until the new Config System is implemented. Config: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/handler/ConfigurationHandler.java Workaround Hack: https://github.com/LogicTechCorp/NetherEx/blob/1.10.2/src/main/java/nex/init/ModBlocks.java#L80-L89
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.