New banner !

This commit is contained in:
Adsooi 2017-06-18 15:22:39 +02:00
parent 512ac47f70
commit 4512f5dfcd
No known key found for this signature in database
GPG key ID: 359332C59162FFDC
3 changed files with 1 additions and 1 deletions

BIN
imgs/Render.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 823 KiB

View file

@ -182,7 +182,7 @@ class Main extends PluginBase implements Listener {
return false; return false;
} }
} }
$sender->teleport(\pocketmine\level\Position::fromObject($player, $this->getServer()->getLevelByName($args[0]))); $sender->teleport(\pocketmine\level\Position::fromObject($sender, $this->getServer()->getLevelByName($args[0])));
$sender->sendMessage("§aTeleporting to {$args[0]}..."); $sender->sendMessage("§aTeleporting to {$args[0]}...");
return true; return true;
} else { } else {