Essentials throws a NullPointerException every time someone joins

  • Date and Time (please include the timezone):
    July 6, 2021 at 4:34 PM MDT

    Describe the bug or exploit:
    Every time someone joins the server, Essentials overwrites the join message with its own. However, for some reason the plugin starts throwing a NullPointerException after a while instead, resulting in no "joined the game" message showing up when it should.

    Code
    :[22:43:36 INFO]: UUID of player HyperSaw13 is 03cb62b3-eeca-4f25-812d-c32b2b547b6f  
    :[22:43:36 INFO]: HyperSaw13[/<censored>] logged in with entity id 74849 at (<censored>)  
    :[22:43:36 WARN]: Task #5671755 for Essentials v2.19.0-dev+159-8204224 generated an exceptionjava.lang.NullPointerException  

    Plugin(s) impacted:
    Essentials

    Expected behaviour (if known):
    The plugin properly overrides the join message and does not throw a NullPointerException upon joining.

    Step to reproduce:

    1. Join the server.

    Which server did you find the bug (Freedom-01 or Freedom-02)?
    Freedom-01

    Can the bug or exploit be reproduced on another server within the network?
    Not sure.

    image.png