geforkt von Mirrors/Paper
64ad50197f
PlayerChatEvent is now Deprecated. It should be fired asynchronously, but has not been so traditionally. To do so would massively break plugins that rely on it. AsyncPlayerChatEvent now replaces PlayerChatEvent. It uses comparable functionality, but can be fired without synchronizing to the event manager. The event will sometimes fire synchronously if triggered by a plugin. Because PlayerChatEvent is now deprecated, PlayerCommandPreprocessEvent will no longer extend PlayerChatEvent. This is almost completely source and binary compatible, bar plugins that downcast to PlayerChatEvent. Additionally, some methods that are non-functional have been marked deprecated and indicate such. Additionally, new constructors are now provided to allow for lazier initialization of the receiving player set. A note has been added stating plugins should be prepared for UnsupportedOperationExceptions if the caller provides an unmodifiable collection. By: Wesley Wolfe <weswolf@aol.com> |
||
---|---|---|
paper-api |