[Bug]: Plugin disabling itself
MaouGoku opened this issue ยท 2 comments
/mv version -p
output
some internal error occurred
Server logs
https://gist.github.com/MaouGoku/44261e89a63eb7d4e946c7981161336b
Server Version
1.16.5
Bug Description
while starting the server the plugin will fail to enable itself
cant use commands of the plugin
Steps to reproduce
dunno
Agreements
- I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
- I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.
It looks like the source of your problem is this error message:
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.storage.ServerWorldInfo.func_230409_a_(net.minecraft.world.Difficulty)" because "org.bukkit.craftbukkit.v1_16_R3.CraftWorld.getHandle().worldDataServer" is null
at org.bukkit.craftbukkit.v1_16_R3.CraftWorld.setDifficulty(CraftWorld.java:1275) ~[forge:7e29f765-296df566-9fb885e8]
I don't think this is a problem with Multiverse but instead with the Mohist server you're using. I haven't used Mohist before, but this PSA by EssentialsX suggests that the way Mohist combines Bukkit and Forge often leads to errors like this. It looks like the code causing this problem is indeed in a modified version of the CraftWorld class made by Mohist. Multiverse does normally load on a Spigot 1.16.5 server, so I think you'll find a better solution by making a report on Mohist's Github repository.