ItsMax123 / AntiGlitch

A Pocketmine-MP (PMMP) plugin to prevent players from doing most glitches.
Apache License 2.0
12 stars 8 forks source link

bug #7

Closed thinh2118 closed 3 years ago

thinh2118 commented 3 years ago

[09:23:40] [Server thread/CRITICAL]: pocketmine\utils\AssumptionFailedError: "Position world is null" (EXCEPTION) in "pmsrc/src/pocketmine/level/Position" at line 83 [09:23:40] [Server thread/CRITICAL]: #0 pmsrc/src/pocketmine/entity/Entity(1875): pocketmine\level\Position->getLevelNonNull() [09:23:40] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/Player(3993): pocketmine\entity\Entity->teleport(object pocketmine\level\Position, double 1, double 1) [09:23:40] [Server thread/CRITICAL]: #2 plugins/AntiGlitch-master/src/Max/AntiGlitch/Main(130): pocketmine\Player->teleport(object pocketmine\level\Position, double 1, double 1) [09:23:40] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/plugin/MethodEventExecutor(42): Max\AntiGlitch\Main->fixBlockBreakGlitch(object pocketmine\event\block\BlockBreakEvent) [09:23:40] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Max\AntiGlitch\Main, object pocketmine\event\block\BlockBreakEvent) [09:23:40] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\block\BlockBreakEvent) [09:23:40] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/level/Level(1788): pocketmine\event\Event->call() [09:23:40] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Player(2593): pocketmine\level\Level->useBreakOn(object pocketmine\math\Vector3, object Wertzui123\Netherite\item\tool\Pickaxe, object koth\KothPlayer, boolean 1) [09:23:40] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(149): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [09:23:40] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(106): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [09:23:40] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:23:40] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [09:23:40] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [09:23:40] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/Player(3321): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:23:40] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [09:23:40] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 123.28.157.36 42388, object raklib\protocol\EncapsulatedPacket, integer 0) [09:23:40] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [09:23:40] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [09:23:40] [Server thread/CRITICAL]: #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [09:23:40] [Server thread/CRITICAL]: #19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications() [09:23:40] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1627352620.8327) [09:23:40] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [09:23:40] [Server thread/CRITICAL]: #22 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [09:23:40] [Server thread/CRITICAL]: #23 pmsrc/src/pocketmine/PocketMine(311): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[49] C:\Users\Administrator\Desktop\SkyBlock LordSoul\, string[57] C:\Users\Administrator\Desktop\SkyBlock LordSoul\plugins) [09:23:40] [Server thread/CRITICAL]: #24 pmsrc/src/pocketmine/PocketMine(341): pocketmine\server() [09:23:40] [Server thread/CRITICAL]: #25 pmsrc(11): require(string[104] phar://C:/Users/Administrator/Desktop/SkyBlock LordSoul/PocketMine-MP.phar/src/p)

MrBlasyMSK commented 3 years ago

x2

ItsMax123 commented 3 years ago

Fixed in https://github.com/ItsMax123/AntiGlitch/commit/eaaa49fdd2594dbd0d999d550340d35a30d91362