forked from Ad5001/BetterGen
New banner !
This commit is contained in:
parent
512ac47f70
commit
4512f5dfcd
3 changed files with 1 additions and 1 deletions
BIN
imgs/Render.png
Normal file
BIN
imgs/Render.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 516 KiB |
BIN
imgs/banner.png
BIN
imgs/banner.png
Binary file not shown.
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 823 KiB |
|
@ -182,7 +182,7 @@ class Main extends PluginBase implements Listener {
|
|||
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]}...");
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue