Particle::encode() now always returns ClientboundPacket[]

This commit is contained in:
Dylan K. Taylor
2020-10-31 15:51:17 +00:00
parent 5a320f22b7
commit 66edf5a165
38 changed files with 73 additions and 76 deletions

View File

@ -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){