mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Moved network ids to constants, improved some entity methods, more performance
This commit is contained in:
@ -76,9 +76,7 @@ class PlayerChatEvent extends PlayerEvent implements Cancellable{
|
||||
* @param Player $player
|
||||
*/
|
||||
public function setPlayer(Player $player){
|
||||
if($player instanceof Player){
|
||||
$this->player = $player;
|
||||
}
|
||||
$this->player = $player;
|
||||
}
|
||||
|
||||
public function getFormat(){
|
||||
|
Reference in New Issue
Block a user