Merge branch 'minor-next' into major-next

This commit is contained in:
Dylan K. Taylor
2023-03-16 15:04:27 +00:00
3 changed files with 40 additions and 7 deletions

View File

@ -31,7 +31,7 @@ use pocketmine\network\mcpe\NetworkSession;
* Called before a packet is decoded and handled by the network session.
* Cancelling this event will drop the packet without decoding it, minimizing wasted CPU time.
*/
class DataPacketPreReceiveEvent extends ServerEvent implements Cancellable{
class DataPacketDecodeEvent extends ServerEvent implements Cancellable{
use CancellableTrait;
public function __construct(