Browse Source

New banner !

pull/34/head
Ad5001 2 years ago
parent
commit
4512f5dfcd
No known key found for this signature in database
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


BIN
imgs/banner.png View File


+ 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