Closed BarryTheShen closed 1 month ago
Hi, this looks like https://github.com/retrooper/packetevents/issues/963 which is fixed in the latest PacketEvents release. Please try CoordinateOffset v4.0.4 and reopen this issue if you still see it.
Yep it is working, thank you!
Describe the bug A clear and concise description of what the bug is. When logging on the server for the first time it is fine. You will be disconnected after a few seconds showing "Disconnected". After that, the next time you tried to join, you get this error message: "Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "com.jtprince.lib.com.github.retrooper.packetevents.protocol.item.enchantment.type.EnchantmentType.getId(com.jtprince.lib.com.github.retrooper.packetevents.protocol.player.ClientVersion)" because "enchantment" is null"
Environment details Output of
/version
: Current Purpur Version: 1.21.1-2315-2a50638 (MC: 1.21.1)*/plugins
: [12:03:30 INFO]: Paper Plugins: (0): [12:03:30 INFO]: Bukkit Plugins: (14): [12:03:30 INFO]: - CoordinateOffset, *DisableJoinMessage, Essentials, EssentialsChat, EssentialsSpawn, ExcellentEnchants, Graves, ImageFrame, InventoryRollbackPlus, LuckPerms [12:03:30 INFO]: nightcore, packetevents, ProtocolLib, voicechat Link to pastebin ofconfig.yml
(if modified):Log errors
Steps to reproduce Please give any additional details that might help us to recreate the bug in a test server. Open the client, and log on to the server The bug will appear Additional context Add any other context about the problem here. Additional Warnings: [12:01:53 WARN]: [nightcore] ========== WARNING ========== [12:01:53 WARN]: [nightcore] Enabled Mojang's DataFixer for ItemStacks to update/fix NBT structure from <= 1.20.4 to 1.20.6+ [12:01:53 WARN]: [nightcore] This may significally affect server's performance. [12:01:53 WARN]: [nightcore] Please, re-save all configuration(s) using in-game GUI editor(s) (if there is any). [12:01:53 WARN]: [nightcore] Then disable this 'feature' in the config.yml of nightcore.