Skip to content

Conversation

@Axyss
Copy link
Contributor

@Axyss Axyss commented Oct 8, 2025

Closes #126. No changes were made to PlayerInjector_v1_21_9.java compared to the previous version.

@KaspianDev
Copy link
Owner

Hello, thank you for your contribution.

If the new injector is the same as previous one, a new module isn't needed and you can just update PE and the switch statement for the new versions to use the supported injector.

Did you test it that way?

@Axyss
Copy link
Contributor Author

Axyss commented Oct 9, 2025

I didn't. I'll look into it later today and let you know if it's stable though.

@Axyss
Copy link
Contributor Author

Axyss commented Oct 9, 2025

I can confirm the new injector is necessary. Using 1.21.6's causes lots of issues with the chat reporting feature to the point of leaving chat itself unusable:

imagen

Related exception:

[18:49:47 INFO]: UUID of player NotAxyss is 7aabd0f8-716e-3ffe-8fdb-d4906a55bc35
[18:49:48 ERROR]: Could not pass event PlayerJoinEvent to AntiPopup v12.3
java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_21_R5/entity/CraftPlayer
        at AntiPopup-12.3.jar/com.github.kaspiandev.antipopup.nms.v1_21_6.PlayerInjector_v1_21_6.inject(PlayerInjector_v1_21_6.java:57) ~[AntiPopup-12.3.jar:?]
        at AntiPopup-12.3.jar/com.github.kaspiandev.antipopup.spigot.nms.PlayerListener.onJoin(PlayerListener.java:19) ~[AntiPopup-12.3.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.10-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71) ~[paper-api-1.21.10-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.10-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:235) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.network.config.PrepareSpawnTask$Ready.spawn(PrepareSpawnTask.java:313) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.network.config.PrepareSpawnTask.spawnPlayer(PrepareSpawnTask.java:139) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.handleConfigurationFinished(ServerConfigurationPacketListenerImpl.java:210) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:22) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:8) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.network.PacketProcessor$ListenerAndPacket.handle(PacketProcessor.java:99) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.network.PacketProcessor.executeSinglePacket(PacketProcessor.java:33) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1484) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1194) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1325) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:353) ~[paper-1.21.10.jar:1.21.10-64-fba780d]
        at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_21_R5.entity.CraftPlayer
        ... 20 more
[18:49:48 INFO]: NotAxyss joined the game

@KaspianDev KaspianDev merged commit 38def2a into KaspianDev:master Oct 10, 2025
@KaspianDev
Copy link
Owner

Thank you

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

Successfully merging this pull request may close these issues.

Pls Add Support for the 1.21.9/10

2 participants