Merge pull request #1387 from PEMapModder/patch-1

pocketmine\command\Command implements the __toString() magic method
This commit is contained in:
Michael Yoo 2014-04-12 18:59:18 +09:30
commit 346d267e4e

View File

@ -301,4 +301,11 @@ abstract class Command{
}
}
}
/**
* @return string
*/
public function __toString(){
return $this->name;
}
}