API 1.11.0, fixed phar check

This commit is contained in:
Shoghi Cervantes
2015-01-03 16:38:36 +01:00
parent 7ef8edccf4
commit 438591bd75
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ class RakLibInterface implements ServerInstance, SourceInterface{
$ev = new PlayerCreationEvent($this, Player::class, Player::class, null, $address, $port);
$this->server->getPluginManager()->callEvent($ev);
$class = $ev->getPlayerClass();
$player = new $class($this, $ev->getClientId(), $ev->getAddress(), $ev->getPort());
$this->players[$identifier] = $player;
$this->identifiersACK[$identifier] = 0;