Some breaking changes for plugins >:D

This commit is contained in:
Dylan K. Taylor
2017-07-05 18:22:37 +01:00
parent 8fc1501e89
commit 46a2e6cbf8
3 changed files with 5 additions and 5 deletions

View File

@ -156,11 +156,11 @@ abstract class PluginBase implements Plugin{
* @param CommandSender $sender
* @param Command $command
* @param string $label
* @param array $args
* @param string[] $args
*
* @return bool
*/
public function onCommand(CommandSender $sender, Command $command, $label, array $args){
public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool{
return false;
}