Zrips / Jobs

Jobs
Apache License 2.0
172 stars 213 forks source link

Player Trading with Fletcher Villager causing server crash. #1441

Open FormulaAbyss opened 2 years ago

FormulaAbyss commented 2 years ago

*Detailed description of the issue: Player trading with a Fletcher (specifically trading sticks for emeralds) would shift click the emeralds out and would crash the server. After troubleshooting, found out the player had a ridiculous amount of levels in the trader job. Here is a picture of the players Levels: https://imgur.com/a/Tda9QHx After removing the job from the player, and removing the job from the server, the crash no longer happens.

ERROR (DELETE IF YOU HAVE NO ERROR): <-- Try to use pastebin.com server if you have long error. -->

[####################
## PASTE ERROR HERE ##
####################](https://pastebin.com/sKwmtm1C)

CONFIG SECTION (DELETE IF NOT RELEVANT):

(https://pastebin.com/wTK7piXG)

Jobs version: 5.0.2.1

Server Type (Spigot/Paper/etc): Paper

Server Version (using /ver): 1.18.2 Build 330

Relevant plugins (Delete if this isn't needed): Jobs Reborn

Zrips commented 2 years ago

Shift click isint really supported on vanilla server. Any special plugin which adds this option?

FormulaAbyss commented 2 years ago

YOu can always shift click emeralds out of a villager, same goes with any trade.... That is completely vanilla.

FormulaAbyss commented 2 years ago

I may be wrong, but I think what caused the server to crash was the fact that the player had somehow gotten a ridiculously large amount of levels without any xp, as noted in the image link I sent. It may have been something to do with the config, or the fact that it was villager trading with 0xp, money, and points. I'm not sure.