From 53ef9b653a484a0f09646acc3740cbaf838c6d30 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 21 Sep 2017 19:10:30 +0100 Subject: [PATCH] Added some getters to FloatingTextParticle --- src/pocketmine/level/particle/FloatingTextParticle.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pocketmine/level/particle/FloatingTextParticle.php b/src/pocketmine/level/particle/FloatingTextParticle.php index 44447eb75..2adaf7340 100644 --- a/src/pocketmine/level/particle/FloatingTextParticle.php +++ b/src/pocketmine/level/particle/FloatingTextParticle.php @@ -50,10 +50,18 @@ class FloatingTextParticle extends Particle{ $this->title = $title; } + public function getText() : string{ + return $this->text; + } + public function setText(string $text) : void{ $this->text = $text; } + public function getTitle() : string{ + return $this->title; + } + public function setTitle(string $title) : void{ $this->title = $title; }