Open Hydroxycobalamin opened 2 months ago
This PR modernizes the PlayerQuitEvent. Additionally to that it adds the following:
@Location true, requested by Chaps79 on Discord. cause:<cause> to only process the event when it matches the specific cause (only on Paper).`
@Location true
cause:<cause>
<context.cause> returns an ElementTag of the cause of the quit (only on Paper)
<context.cause>
The PaperImplementation makes also use of the non-deprecated Methods
This PR modernizes the PlayerQuitEvent. Additionally to that it adds the following:
Switches
@Location true
, requested by Chaps79 on Discord.cause:<cause>
to only process the event when it matches the specific cause (only on Paper).`Context
<context.cause>
returns an ElementTag of the cause of the quit (only on Paper)The PaperImplementation makes also use of the non-deprecated Methods