Merge branch 'p1' of Point808/PMMP_Plugins into master

This commit is contained in:
Josh North 2017-07-26 09:40:24 -04:00 committed by Gitea
commit a07642cbb4
2 changed files with 49 additions and 49 deletions

View File

@ -10,7 +10,7 @@ class changeTimeTask extends PluginTask{
$this->plugin = $plugin;
}
public function onRun($currentTick) {
public function onRun(int $currentTick) {
$this->plugin->changeTime();
}

View File

@ -27,7 +27,7 @@ class tellTimeTask extends PluginTask{
}
public function onRun($currentTick)
public function onRun(int $currentTick)
{
// TODO: Implement onRun() method.
}