retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
538 stars 152 forks source link

Injector issues on KSpigot? #406

Closed AVuTuVA closed 2 years ago

AVuTuVA commented 2 years ago

Describe the bug Error at startup and during server operation.

Software brand Latest kspigot 1.12.2(Fork Paper)

Plugins [16:52:20 INFO]: Plugins (5): GrimAC, LuckPerms, ProtocolLib, spark, ViaVersion

How To Reproduce Starting the server on 1.12.2

Expected behavior The server will start without errors and will work stably.

Screenshots I think an error message will do https://pastebin.com/hFkyMt8L

Additional context There was no such problem before

NoJokeFNA commented 2 years ago

"GrimAC is an open source anticheat designed for 1.18 and supporting 1.14-1.18 with half working 1.8-1.13 support"

retrooper commented 2 years ago

Have you tested this on ordinary Paper or some open source paper fork to confirm if this is only occuring on KSpigot?

AVuTuVA commented 2 years ago

The problem was that I started the server on java 17)

MWHunter commented 2 years ago

Would injecting on main thread fix this?

AVuTuVA commented 2 years ago

I installed Java 11 and the problem went away

AVuTuVA commented 2 years ago

I don’t think it’s critical, because no one is running server 1.12.2 on Java 17

retrooper commented 2 years ago

Fixed by https://github.com/retrooper/packetevents/commit/89cb93be670885562d04e04a3e4e04a10d983a09 probably.