jojoe77777 / Slapper

The new home of Slapper, the NPC plugin for PocketMine.
GNU Lesser General Public License v3.0
96 stars 149 forks source link

Issue #271

Open WoollenPanda275 opened 4 years ago

WoollenPanda275 commented 4 years ago

This is the Error -

[Server thread/CRITICAL]: Error: "Call to a member function getName() on null" (EXCEPTION) in "plugins/WorldGuard_dev-189.phar/src/Chalapa13/WorldGuard/WorldGuard" at line 212 [21:40:24] [Server thread/CRITICAL]: #0 plugins/WorldGuard_dev-189.phar/src/Chalapa13/WorldGuard/WorldGuard(202): Chalapa13\WorldGuard\WorldGuard->getRegionNameFromPosition(object pocketmine\level\Position) [21:40:24] [Server thread/CRITICAL]: #1 plugins/WorldGuard_dev-189.phar/src/Chalapa13/WorldGuard/EventListener(369): Chalapa13\WorldGuard\WorldGuard->getRegionFromPosition(object pocketmine\level\Position) [21:40:24] [Server thread/CRITICAL]: #2 src/pocketmine/plugin/MethodEventExecutor(42): Chalapa13\WorldGuard\EventListener->onHurt(object pocketmine\event\entity\EntityDamageByEntityEvent) [21:40:24] [Server thread/CRITICAL]: #3 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Chalapa13\WorldGuard\EventListener, object pocketmine\event\entity\EntityDamageByEntityEvent) [21:40:24] [Server thread/CRITICAL]: #4 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent) [21:40:24] [Server thread/CRITICAL]: #5 src/pocketmine/entity/Entity(932): pocketmine\event\Event->call() [21:40:24] [Server thread/CRITICAL]: #6 src/pocketmine/Player(2685): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent) [21:40:24] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [21:40:24] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(173): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [21:40:24] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:40:24] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) [21:40:24] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:40:24] [Server thread/CRITICAL]: #12 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:40:24] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:40:24] [Server thread/CRITICAL]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 192.168.0.5 53575, object raklib\protocol\EncapsulatedPacket, integer 0) [21:40:24] [Server thread/CRITICAL]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [21:40:24] [Server thread/CRITICAL]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [21:40:24] [Server thread/CRITICAL]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [21:40:24] [Server thread/CRITICAL]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [21:40:24] [Server thread/CRITICAL]: #19 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1595540424.6351) [21:40:24] [Server thread/CRITICAL]: #20 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [21:40:24] [Server thread/CRITICAL]: #21 src/pocketmine/Server(1588): pocketmine\Server->start() [21:40:24] [Server thread/CRITICAL]: #22 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[36]

WoollenPanda275 commented 4 years ago

So basically whenever someone removes a slapper they would be disconnected from the server. that is the message that would show up in console

supercrafter333 commented 3 years ago

The plugin "World Guard" don't work correct with the Slapper plugin. Please create a commit by the plugin "World Guard". Thx