mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Merge branch 'stable'
This commit is contained in:
commit
c07396442c
@ -62,6 +62,7 @@ class SetScorePacket extends DataPacket implements ClientboundPacket{
|
||||
throw new BadPacketException("Unknown entry type $entry->type");
|
||||
}
|
||||
}
|
||||
$this->entries[] = $entry;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -140,7 +140,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks a supplied username and checks it is valid.
|
||||
* Validates the given username.
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
@ -704,7 +704,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the "friendly" name to display of this player to use in the chat.
|
||||
* Returns the "friendly" display name of this player to use in the chat.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user