menu
#2470680 pocketmine\event\entity\ProjectileHitBlockEvent is not Cancellable

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Indirect
Report date: 2019-06-12 13:18:19 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT LAPTOP-A545PJ8M 10.0 build 18362 (Windows 10) AMD64

Error information

Warning: the Guns plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: pocketmine\event\entity\ProjectileHitBlockEvent is not Cancellable
File: src/pocketmine/event/Event
Line: #70
Error level: BadMethodCallException
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
	}

/**
* @param bool $value
*
* @throws \BadMethodCallException
*/
public function setCancelled(bool $value = true) : void{
if(!($this instanceof Cancellable)){
throw new \BadMethodCallException(get_class($this) . " is not Cancellable");
}

/** @var Event $this */
$this->isCancelled = $value;
}

/**
* Calls event handlers registered for this event.
*
* @throws \RuntimeException if event call recursion reaches the max depth limit
#0 plugins/guns-master/src/mohagames/guns/Main(106): pocketmine\event\Event->setCancelled()
#1 src/pocketmine/plugin/MethodEventExecutor(38): mohagames\guns\Main->hitevent(pocketmine\event\entity\ProjectileHitBlockEvent object)
#2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(mohagames\guns\Main object, pocketmine\event\entity\ProjectileHitBlockEvent object)
#3 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\ProjectileHitBlockEvent object)
#4 src/pocketmine/entity/projectile/Projectile(248): pocketmine\event\Event->call()
#5 src/pocketmine/entity/Entity(1464): pocketmine\entity\projectile\Projectile->move(double -1.6861851477186, double -1.0983389332456, double 0.20279411331432)
#6 src/pocketmine/level/Level(848): pocketmine\entity\Entity->onUpdate(integer 819)
#7 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 819)
#8 src/pocketmine/Server(2434): pocketmine\level\Level->doTick(integer 819)
#9 src/pocketmine/Server(2565): pocketmine\Server->checkTickUpdates(integer 819, double 1560345499.7905)
#10 src/pocketmine/Server(2334): pocketmine\Server->tick()
#11 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1774): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\moham\Desktop\pocketmine\, string C:\Users\moham\Desktop\pocketmine\plugins\)
#14 (1): require(string phar://C:/Users/moham/Desktop/pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show