Update SetNameTagVisibleTask.php
This commit is contained in:
parent
f18ee6266c
commit
c9dd437929
1 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,9 @@ use pocketmine\Player;
|
||||||
use pocketmine\plugin\PluginBase;
|
use pocketmine\plugin\PluginBase;
|
||||||
use pocketmine\entity\Entity;
|
use pocketmine\entity\Entity;
|
||||||
class SetNameTagVisibleTask extends \pocketmine\scheduler\PluginTask {
|
class SetNameTagVisibleTask extends \pocketmine\scheduler\PluginTask {
|
||||||
|
public $owner;
|
||||||
|
public function __construct($owner){$this->owner = $owner;}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
RUns when the task runs
|
RUns when the task runs
|
||||||
@param $tick int
|
@param $tick int
|
||||||
|
@ -26,4 +28,4 @@ class SetNameTagVisibleTask extends \pocketmine\scheduler\PluginTask {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue