-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.
Description
Type of bug
Error in console
/ess dump all output
https://essentialsx.net/dump.html?bytebin=qEgfUUpdvb
Error log (if applicable)
Bug description
Within one of the latest builds of EssentialsX, the PaperChatListenerProvider has been introduced. It's handler onHighest causes an obvious NullPointerException, as follows: wrapping here creates a PaperChatEvent, whose format is suspiciously called fakeFormat and remains null, if not explicitly set - said format is not inherited from the wrapped instance. When passing this null-value to the serializer here, it causes the internal NullPointerException, as this parameter is expected to be non-null.
Steps to reproduce
- Download and install the latest available builds of EssentialsX onto a Paper server
- Send any chat-message
- Notice the corresponding exception printed to the console
Expected behaviour
No exception caused, because there's either a null-check introduced, or the format is simply inherited.
Actual behaviour
Console is spammed if players chat actively.
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.