mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 10:56:35 +00:00
Oops x3
This commit is contained in:
parent
b635a54b13
commit
94f2da1e38
@ -28,6 +28,7 @@ class DataPacketReceiveEvent extends ServerEvent implements CancellableEvent{
|
|||||||
|
|
||||||
public function __construct(Player $player, RakNetDataPacket $packet){
|
public function __construct(Player $player, RakNetDataPacket $packet){
|
||||||
$this->packet = $packet;
|
$this->packet = $packet;
|
||||||
|
$this->player = $player;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPacket(){
|
public function getPacket(){
|
||||||
|
@ -28,6 +28,7 @@ class DataPacketSendEvent extends ServerEvent implements CancellableEvent{
|
|||||||
|
|
||||||
public function __construct(Player $player, RakNetDataPacket $packet){
|
public function __construct(Player $player, RakNetDataPacket $packet){
|
||||||
$this->packet = $packet;
|
$this->packet = $packet;
|
||||||
|
$this->player = $player;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPacket(){
|
public function getPacket(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user