What's new

Bug: Incompatibility with Purpur (Paper fork)

Crafter_Keegan

New Member
Joined
Dec 9, 2020
Messages
2
Enter a brief description of what is broken Incompatibility with Purpur (Paper fork)

What version of Minecraft are you using? 1.16

What server jar are you using? Purpur

What is this a bug report for? MythicMobs

What version of the plugin are you using? 4.10.1-3456

Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
Upon loading the plugin on a Purpur server, it spits the following error:

[00:52:06 WARN]: An error occurred, setting arrow lifespan will not work
java.lang.NoSuchFieldException: ar
at java.lang.Class.getDeclaredField(Class.java:2569) ~[?:?]
at com.gmail.berndivader.mythicmobsext.compatibilitylib.NMSUtils.initialize(NMSUtils.java:1367) ~[?:?]
at com.gmail.berndivader.mythicmobsext.NMS.NMSUtils.initialize(NMSUtils.java:69) ~[?:?]
at com.gmail.berndivader.mythicmobsext.Main.onEnable(Main.java:99) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.4.jar:git-Purpur-884]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.4.jar:git-Purpur-884]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.4.jar:git-Purpur-884]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.4.jar:git-Purpur-884]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.4.jar:git-Purpur-884]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:471) ~[patched_1.16.4.jar:git-Purpur-884]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:249) ~[patched_1.16.4.jar:git-Purpur-884]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.4.jar:git-Purpur-884]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:180) ~[patched_1.16.4.jar:git-Purpur-884]
at java.lang.Thread.run(Thread.java:832) [?:?]

This does not occur on Paper. I asked the folks in the Purpur community about this and they helpfully directed me towards a bug (and its respective fix) that was recently found in another plugin and appears to be the same issue: https://github.com/elBukkit/MagicPlugin/issues/816

In case you're not familiar with Purur, it can be downloaded here: https://ci.pl3x.net/job/Purpur/

Thank you.

Example Configurations
 

Crafter_Keegan

New Member
Joined
Dec 9, 2020
Messages
2
I also posted this on GitLab with more information after realizing that may be a better option; I'm not sure what the standard protocol is for reporting bugs here versus there, but I apologize if you'd prefer not having duplicates like this. If staff sees this, they're welcome to delete this thread.
 
Top