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

java.lang.ClassNotFoundException: Could not find net.minecraft.server.EntityPlayer #1693

Open
3 tasks done
Strahilchu opened this issue Jun 13, 2024 · 5 comments · May be fixed by #1629
Open
3 tasks done

java.lang.ClassNotFoundException: Could not find net.minecraft.server.EntityPlayer #1693

Strahilchu opened this issue Jun 13, 2024 · 5 comments · May be fixed by #1629

Comments

@Strahilchu
Copy link

Expected behavior

No error

Actual behavior

[20:16:14 WARN]: java.lang.ClassNotFoundException: Could not find net.minecraft.server.EntityPlayer
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.util.NMSUtil.fixBukkitClass(NMSUtil.java:122)
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.util.NMSUtil.(NMSUtil.java:61)
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.DiscordSRV.getAvatarUrl(DiscordSRV.java:2025)
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.DiscordSRV.sendJoinMessage(DiscordSRV.java:1870)
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.listeners.PlayerJoinLeaveListener.lambda$onPlayerJoin$1(PlayerJoinLeaveListener.java:94)
[20:16:14 WARN]: at DiscordSRV-Build-1.27.0.jar//github.scarsz.discordsrv.util.SchedulerUtil.lambda$runTaskLaterAsynchronously$4(SchedulerUtil.java:125)
[20:16:14 WARN]: at io.papermc.paper.threadedregions.scheduler.FoliaAsyncScheduler$AsyncScheduledTask.run(FoliaAsyncScheduler.java:217)
[20:16:14 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[20:16:14 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[20:16:14 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
[20:16:14 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[20:16:14 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[20:16:14 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

Steps to reproduce

Join on 1.20.6

Server software and version

Purpur Version: 1.20.6-2230-eac4198 (MC: 1.20.6)*

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
  • I didn't actually check any of these things

Anything else

No response

@Strahilchu Strahilchu added the bug label Jun 13, 2024
@Dinty1
Copy link
Member

Dinty1 commented Jun 13, 2024

Fixed on the development build. https://snapshot.discordsrv.com/

@Dinty1 Dinty1 added the fixed label Jun 13, 2024
@Dinty1 Dinty1 linked a pull request Jun 13, 2024 that will close this issue
@lahnan
Copy link

lahnan commented Jun 23, 2024

Fixed on the development build. https://snapshot.discordsrv.com/

how If I using aternos?

@granny
Copy link
Member

granny commented Jun 23, 2024

@lahnan you'll have to wait for a discordsrv release to come out

@foxya27

This comment was marked as resolved.

@PadowYT2

This comment was marked as resolved.

@Scarsz Scarsz changed the title Error on Join 1.20.6 java.lang.ClassNotFoundException: Could not find net.minecraft.server.EntityPlayer Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants