Hey Guys! Sorry for my bad english! Can anyone fix this line i dont have a error, but this line is wrong! $target = $this->getServer->getPlayer($args[1]);
Could you show me the source code around that line? and if you got an error, please tell me that contents.
the problem here is that you don't write the stantard function corretly: it should be like that: PHP: //before$target = $this->getServer->getPlayer($args[1]);//after$target = $this->getServer()->getPlayer($args[1]);
getServer is not property. Use; PHP: /** @var Server $server */$player = $server->getPlayer($args[1]);