Update SetNameTagVisibleTask.php

This commit is contained in:
djdisodo 2018-06-10 17:42:06 +09:00 committed by GitHub
parent f18ee6266c
commit c9dd437929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,9 @@ use pocketmine\Player;
use pocketmine\plugin\PluginBase;
use pocketmine\entity\Entity;
class SetNameTagVisibleTask extends \pocketmine\scheduler\PluginTask {
public $owner;
public function __construct($owner){$this->owner = $owner;}
/*
RUns when the task runs
@param $tick int
@ -26,4 +28,4 @@ class SetNameTagVisibleTask extends \pocketmine\scheduler\PluginTask {
}
}
}
}
}