hilburn / NotEnoughResources

Adds resources to NEI
Other
20 stars 17 forks source link

Server can't start with Cauldron #35

Closed devryb closed 8 years ago

devryb commented 9 years ago

Apologies if this is a duplicate this is with build 86 When using Cauldron the server won't start

http://pastebin.com/Ax7D09TQ

hilburn commented 9 years ago

I will look into this but generally speaking Cauldron is something of a dead project, no longer being developed or particularly compatible with newer versions of Forge and Forge Mods.

Hopefully I'll be able to find a fix, but just to warn you, it might not be possible

devryb commented 9 years ago

Thanks for taking the time to look!

bloodmc commented 9 years ago

@hilburn

https://github.com/hilburn/NotEnoughResources/blob/master/src/main/java/neresources/compatibility/minecraft/MinecraftCompat.java#L106

Why are you passing null world objects when registering entities? that just seems hacky... If you really need to do this, just pass the default world

DimensionManager.getWorld(0)
hilburn commented 9 years ago

Pretty sure that was returning null objects in that stage of loading anyway when I checked it, but I'll double check

hilburn commented 9 years ago

bloodmc commented 9 years ago

@hilburn Is there an issue with registering during the FMLServerStartingEvent ? This will have the world instance.

hilburn commented 9 years ago

Pretty sure there was, but I can't remember what exactly.. I'll check my notes

hilburn commented 9 years ago

@bloodmc - it appears @way2muchnoise solved the particular issue that was causing the problem with FMLServer-X-Event accidentally while working on something else. So made those changes

@devryb - this should solve your original problem I hope