Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Patch 1 #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
main: aliuly\manyworlds\Main
api: 2.0.0
api: 3.0.0-ALPHA10, 3.0.0-ALPHA11
load: POSTWORLD

name: ManyWorlds
Expand Down
2 changes: 1 addition & 1 deletion src/aliuly/manyworlds/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function autoLoad(CommandSender $c,$world) {
// Command dispatcher
//
//////////////////////////////////////////////////////////////////////
public function onCommand(CommandSender $sender, Command $cmd, $label, array $args) {
public function onCommand(CommandSender $sender, Command $cmd, string $label, array $args) : bool{
if ($cmd->getName() != "manyworlds") return false;
return $this->dispatchSCmd($sender,$cmd,$args);
}
Expand Down