Closed ZandercraftGames closed 3 years ago
When the player is teleported during a BlockHunt game, the AntiGlitch plugin causes the following crash:
[16:40:52] [Server thread/CRITICAL]: Error: "Call to undefined method OguzhanUmutlu\BlockHunt\entities\BlockHuntEntity::getName()" (EXCEPTION) in "plugins/AntiGlitch.phar/src/Max/AntiGlitch/Main" at line 46 [16:40:52] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): Max\AntiGlitch\Main->onTP(object pocketmine\event\entity\EntityTeleportEvent) [16:40:52] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Max\AntiGlitch\Main, object pocketmine\event\entity\EntityTeleportEvent) [16:40:52] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityTeleportEvent) [16:40:52] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/entity/Entity(1877): pocketmine\event\Event->call() [16:40:52] [Server thread/CRITICAL]: #4 plugins/BlockHunt.phar/src/OguzhanUmutlu/BlockHunt/entities/BlockHuntEntity(58): pocketmine\entity\Entity->teleport(object pocketmine\Player) [16:40:52] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/level/Level(854): OguzhanUmutlu\BlockHunt\entities\BlockHuntEntity->onUpdate(integer 7181) [16:40:52] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 7181) [16:40:52] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 7181) [16:40:52] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 7181, double 1627162852.7206) [16:40:52] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick() [16:40:52] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [16:40:52] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [16:40:52] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[38] C:\Users\j3zza\Desktop\Zandercraft PE\, string[46] C:\Users\j3zza\Desktop\Zandercraft PE\plugins\) [16:40:52] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() [16:40:52] [Server thread/CRITICAL]: #14 pmsrc(11): require(string[93] phar://C:/Users/j3zza/Desktop/Zandercraft PE/PocketMine-MP.phar/src/pocketmine/P) [16:40:52] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [16:40:52] [Server thread/EMERGENCY]: Please upload the "C:\Users\j3zza\Desktop\Zandercraft PE\crashdumps/Sat_Jul_24-17.40.52-EDT_2021.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
Probably fixed in the latest commit if it still does not work re-open issue or re-create a new one. Thanks for the bug report!
When the player is teleported during a BlockHunt game, the AntiGlitch plugin causes the following crash: