Skip to content
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

Slimefun Build 1145 produces errors on Paper 1.20.6 (build #124) #4199

Closed
4 tasks done
CodingWithAnxiety opened this issue May 30, 2024 · 9 comments
Closed
4 tasks done
Labels
🐞 Bug Report A bug that needs to be fixed. 🧨 Confirmed Bug This bug has been confirmed by our team.

Comments

@CodingWithAnxiety
Copy link

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

When starting a 1.20.6 server using paper, whilst having the latest Slimefun dev version installed, the following error occurs:

[00:36:41 ERROR]: [dough: skins] Failed to detect skull nbt methods
java.lang.NoSuchMethodException: net.minecraft.world.level.block.entity.SkullBlockEntity.a(com.mojang.authlib.GameProfile)
	at java.base/java.lang.Class.getMethod(Class.java:2395) ~[?:?]
	at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getMethod(AbstractDefaultRulesReflectionProxy.java:100) ~[reflection-rewriter-runtime-0.0.1.jar:?]
	at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getMethod(Unknown Source) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.libraries.dough.skins.nms.PlayerHeadAdapter18.<init>(PlayerHeadAdapter18.java:23) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.libraries.dough.skins.nms.PlayerHeadAdapter.get(PlayerHeadAdapter.java:31) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.libraries.dough.skins.PlayerHead.<clinit>(PlayerHead.java:23) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.utils.SlimefunUtils.getCustomHead(SlimefunUtils.java:246) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.core.services.localization.Language.<init>(Language.java:52) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.core.services.LocalizationService.<init>(LocalizationService.java:67) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.implementation.Slimefun.onPluginStart(Slimefun.java:300) ~[Slimefun4-Dev(1).jar:?]
	at Slimefun4-Dev(1).jar/io.github.thebusybiscuit.slimefun4.implementation.Slimefun.onEnable(Slimefun.java:241) ~[Slimefun4-Dev(1).jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:519) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:604) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-124-0fcf3e3]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

In addition, having the Exotic Garden plugin installed furthers the issue. As exotic garden is a community plugin, I will not discuss it any further beyond the following pastebin link;
https://paste.ee/p/RiOjp

📑 Reproduction Steps

  1. Prepare a base, 1.20.6, paper server.
    • No configuration needs to be made to the server, minus eula=true
  2. Launch the server. I am doing this using OpenJDK 21
  3. Presented with error.

💡 Expected Behavior

No errors to occur during startup of the server.

📷 Screenshots / Videos

image

2024-05-30.00-44-32.mp4

I do not scroll within the video.

📜 Server Log

https://paste.ee/p/9RBoV

📂 /error-reports/ folder

N/A

💻 Server Software

Paper

🎮 Minecraft Version

1.20.x

⭐ Slimefun version

slimefun versions
[00:52:07 INFO]: This Server uses the following setup of Slimefun:
Paper 1.20.6-124-0fcf3e3 (MC: 1.20.6)
Slimefun Dev - 1145
Java 21

Installed Addons: (1)
ExoticGarden vDEV - 78 (git 7f9a5f63)

🧭 Other plugins

This error exists within both ExoticGarden alongside slimefun. I recall seeing outputted errors from EcoPower, however I did not have it installed in none of my logs which are linked here.

@CodingWithAnxiety CodingWithAnxiety added 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced. 🐞 Bug Report A bug that needs to be fixed. labels May 30, 2024
@CodingWithAnxiety CodingWithAnxiety changed the title Slimefun Build 1145 non-functional on Paper 1.20.6 (build #124) Slimefun Build 1145 produces errors on Paper 1.20.6 (build #124) May 30, 2024
@CodingWithAnxiety
Copy link
Author

Renamed. The server still works (assuming Exotic Garden isn't installed) however the errors still cocur.

@CodingWithAnxiety
Copy link
Author

From the discord bugs channel:

Errors in the slimefun plugins folder are not documented as it does not produce any errors within this folder.

@JustAHuman-xD
Copy link
Contributor

We don’t support 1.20.5+

@JustAHuman-xD
Copy link
Contributor

Update is a WIP

@CodingWithAnxiety
Copy link
Author

Got-cha. Well, I hope this report helps you trace down another bug.

@EpicPlayerA10
Copy link
Contributor

EpicPlayerA10 commented May 30, 2024

The error lies in dough lib. Here is a PR that adds support for 1.20.6 Slimefun/dough#271

@JustAHuman-xD JustAHuman-xD added 🧨 Confirmed Bug This bug has been confirmed by our team. and removed 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced. labels May 30, 2024
@CodingWithAnxiety
Copy link
Author

I thought it had something to do with dough considering the errors were being spat with dough's name in them. Good catch.

@Boomer-1
Copy link

since this was a dough issue, is there any reason to keep this open? additionally it's from an older version of slimefun

@WalshyDev
Copy link
Member

WalshyDev commented Oct 25, 2024

We support 1.20.5/6 now - closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Report A bug that needs to be fixed. 🧨 Confirmed Bug This bug has been confirmed by our team.
Projects
None yet
Development

No branches or pull requests

5 participants