malte-laukoetter / Laborus

a customisable sponge job plugin
https://ore.spongepowered.org/Lergin/Laborus
MIT License
1 stars 3 forks source link

Laborus 1.6.1 | Errors when running /jobs command #43

Open SirFancyBacon opened 6 years ago

SirFancyBacon commented 6 years ago

Laborus Version: 1.6.1 Sponge Version: SpongeForge 1.12.2-2611-7.1.0-BETA-2906 Forge Version: 2611 Sponge API Version: 7.1.0-SNAPSHOT

When using the /jobs command an error appears in the chat window: Error occured while executing command: Could not initialize class de.lergin.laborus.data.jobkeys

There is also an error while booting the server attached to this as well; possible related

Error when booting (Only happens when Laborus is installed): Error when running /jobs command:

malte-laukoetter commented 6 years ago

I was able to fix a crash at the startup but i wasn't able to reproduce the other bug so i would ask you to test it again in 1.6.2 and to send me your config file if it is still happening :)

SirFancyBacon commented 6 years ago

I knew i was forgetting something last night! sorry it was a very long day.

Laborus.conf: https://pastebin.com/zyURFD3U mining.conf: https://pastebin.com/d84PHg3P

Test results with 1.6.2: Still getting an error on boot: https://pastebin.com/D5FhAABj Seems it is a compatibility issue with Nucleus as during it's initialization is when it happens.

EDIT: When deleting my config so only the fresh config is created i get the following error: https://pastebin.com/eszqibp8 which is the same error i get on boot as above.

malte-laukoetter commented 6 years ago

Hm... it seems that would need a complete update of the datasystem and this is something i really don't want to do at the moment so this could take some time... :(

SirFancyBacon commented 6 years ago

Ouch :/ Weird because API 7.0 to API7.1 claims it doesn't break anything; clearly that was a lie..

Well, i appreciate all your help, Attempting to port is one thing; which is already out of my leauge.. But rewriting the datasystem seems far beyond my skill level.

If there is anything i can do to help you if you ever feel like tackling this issue. In the interim my quest to turn Minecraft into an RPG continues!

P.S. if a rewrite of the data system is required; you may want to hook into this guys API: https://ore.spongepowered.org/NeumimTo/NT-Rpg/pages/Developers

then he will do the porting of the API; you'd only need to concentrate on the code you want to improve.