-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with Mohist #1766
Comments
This is not a bentobox error, but a Mohist one, unless you can reproduce it on Paper/Spigot. |
The crash happens here:
There are some issues with accessing the nether world. Apparently, it does not exist, and as in GameMode config it is specified, that nether will exist, BentoBox crashes. BentoBox creates these worlds, and in Spigot/Paper they exist. Apparently, Mohist prevents BentoBox from generating the nether world, and it results in this issue. Crash in AcidIsland is just a result after BentoBox is crashed. @tastybento and this is the reason, why I always asked for disabling every addon, if BentoBox runs into a crash. This is just another instance where a task failed but everything continues to operate. |
This Expection have been fixed in Mohist. https://paste.ubuntu.com/p/wHQvmNF2w5/ Sry for that I submit an outdate log. |
@BONNe We do try to do that. I am not against that approach and it you think there is a way to improve it, then by all means please submit a PR In regards to the GSON error, I will look into it. |
This is probably beyond my ability to fix. It looks like the server has extended the Environment class to include an Enum that doesn't exist in some classes and GSON can't handle that. I tried to run Mohist locally, but I can't get it to run on Java 11 or Java 16 for some reason, so I'm blocked there too. Sorry, it looks like someone more knowledgable about Mohist will need to fix this. |
It's easy to fix it with add an enum adapter likes there I want to fix it at first, but i can't build this project due to maven. By the ways, we may fix Gson, but still have "Hson" "Ison" and more, also snackyaml netty. I don't think it should be fix in Mohist |
That's very cool. |
Description
Describe the bug
The plugin throw an Expection when load by Mohist
Steps to reproduce the behavior
Expected behavior
Works correctly without Expection reported
Environment
Win10 (19042.985) / AdoptOpenJDK-11.0.10.9-hotspot
Logs
https://paste.ubuntu.com/p/f5pzFf5fbR/
Linked issue
MohistMC/Mohist#1341
Gson's EnumTypeAdapter don't support dynmic Enum(what modified by reflection).
Add EnumTypeAdapter into Gson may solve this problem.
(I can't build bentobox in pc) Likes i did in Skript : SkriptLang/Skript#3918
The text was updated successfully, but these errors were encountered: