mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Particle::encode() now always returns ClientboundPacket[]
This commit is contained in:
@ -80,7 +80,7 @@ class FloatingTextParticle implements Particle{
|
||||
$this->invisible = $value;
|
||||
}
|
||||
|
||||
public function encode(Vector3 $pos){
|
||||
public function encode(Vector3 $pos) : array{
|
||||
$p = [];
|
||||
|
||||
if($this->entityId === null){
|
||||
|
Reference in New Issue
Block a user