Browse Source

New banner !

pull/34/head
Ad5001 3 years ago
parent
commit
4512f5dfcd
No known key found for this signature in database GPG Key ID: 359332C59162FFDC
3 changed files with 1 additions and 1 deletions
  1. BIN
      imgs/Render.png
  2. BIN
      imgs/banner.png
  3. +1
    -1
      src/Ad5001/BetterGen/Main.php

BIN
imgs/Render.png View File

Before After
Width: 1280  |  Height: 720  |  Size: 516 KiB

BIN
imgs/banner.png View File

Before After
Width: 1600  |  Height: 1200  |  Size: 1.7 MiB Width: 1280  |  Height: 720  |  Size: 823 KiB

+ 1
- 1
src/Ad5001/BetterGen/Main.php View File

@@ -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…
Cancel
Save