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

plugin not full work on old minecraft version #70

Closed
disqetow opened this issue Jan 4, 2025 · 4 comments
Closed

plugin not full work on old minecraft version #70

disqetow opened this issue Jan 4, 2025 · 4 comments

Comments

@disqetow
Copy link

disqetow commented Jan 4, 2025

Some item cant show to discord channel, like fish rod
mc version: 1.12.2
plugin: all lastest (interactivechat、interactivechatdiscord、discordsrv、protocollib)

[00:11:46] [Log4j2-TF-1-AsyncLogger[AsyncContext@2b9627bc]-1/INFO]: <oder> [Fishing Rod]
[00:11:46] [Craft Scheduler Thread - 16/WARN]: [InteractiveChatDiscordSRVAddon] Plugin InteractiveChatDiscordSrvAddon v4.2.16.0 generated an exception while executing task 627
java.lang.NoClassDefFoundError: org/bukkit/entity/TropicalFish$Pattern
	at com.loohp.interactivechatdiscordsrvaddon.utils.FishUtils.<clinit>(FishUtils.java:39) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.utils.ItemRenderUtils.processItemForRendering(ItemRenderUtils.java:439) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getRawItemImage(ImageGeneration.java:829) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getSingleRawItemImage(ImageGeneration.java:813) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.graphics.ImageGeneration.getItemStackImage(ImageGeneration.java:265) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.utils.DiscordContentUtils.createContents(DiscordContentUtils.java:127) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.handleSelfBotMessage(OutboundToDiscordEvents.java:865) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents.access$100(OutboundToDiscordEvents.java:142) ~[?:?]
	at com.loohp.interactivechatdiscordsrvaddon.listeners.OutboundToDiscordEvents$JDAEvents.lambda$onMessageReceived$0(OutboundToDiscordEvents.java:1008) ~[?:?]
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1620]
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.12.2.jar:git-Paper-1620]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.12.2.jar:git-Paper-1620]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.entity.TropicalFish$Pattern
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:109) ~[patched_1.12.2.jar:git-Paper-1620]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.12.2.jar:git-Paper-1620]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
	... 15 more
@LOOHP LOOHP closed this as completed in 0d5cd10 Jan 4, 2025
@disqetow
Copy link
Author

disqetow commented Jan 4, 2025

image

new issue in 1.12.2, some image not work like grass

@LOOHP
Copy link
Owner

LOOHP commented Jan 4, 2025

Only some of them not work? So some of them do?

@disqetow
Copy link
Author

disqetow commented Jan 4, 2025

(already fix on new plugin version)

most can be used, only a few cannot be used
after testing I find these item have issue: tallgrass、clownfish
not sure there have another item have issue.
image

@LOOHP
Copy link
Owner

LOOHP commented Jan 10, 2025

Superceeded by #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants