menu
#2387916 Call to undefined method pocketmine\math\AxisAlignedBB::grow()

Submitted by PocketMine-MP 3.8.0

General information

Version: 3.8.0
Git commit: 088fbf65
Plugin involvement: Direct
Report date: 2019-05-15 22:56:17 +0000 UTC

System Information

PHP version: 7.2.12
Operating system: linux
System banner: Linux ns546439 4.9.87-xxxx-std-ipv6-64 #1 SMP Tue Mar 13 18:41:47 CET 2018 x86_64

Error information

Warning: the SilkSpawnersRN plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method pocketmine\math\AxisAlignedBB::grow()
File: plugins/SilkSpawnersRN[1.10].phar/src/silkSpawners/main/Loader
Line: #195
Error level: Error
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
		$spw = $object->getX().":".$object->getY().":".$object->getZ().":".$object->getLevel()->getName();
return isset($this->spawnersSaves[$spw]);
}
public function onEntitySpawn(EntitySpawnEvent $e)
{
$entity = $e->getEntity();
if(!$entity instanceof Player and !$entity instanceof Human){
$stack = null;
$bb = $entity->getBoundingBox();
$bb = $bb->grow(16, 16, 16);
foreach($entity->getLevel()->getCollidingEntities($bb) as $ent) {
if(is_a($ent, get_class($entity)) and $stack !== $entity){
$dist = $ent->distance($entity);
if($dist < 16){
$stack = $ent;
}
}
}
if($stack !== null){
if(isset($stack->namedtag->StackData)){
#0 src/pocketmine/plugin/MethodEventExecutor(38): silkSpawners\main\Loader->onEntitySpawn(pocketmine\event\entity\EntitySpawnEvent object)
#1 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(silkSpawners\main\Loader object, pocketmine\event\entity\EntitySpawnEvent object)
#2 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\entity\EntitySpawnEvent object)
#3 src/pocketmine/entity/Entity(638): pocketmine\event\Event->call()
#4 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/entity/BaseEntity(102): pocketmine\entity\Entity->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
#5 src/pocketmine/entity/Entity(365): revivalpmmp\pureentities\entity\BaseEntity->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
#6 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/PureEntities(265): pocketmine\entity\Entity::createEntity(integer 11, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
#7 plugins/PureEntitiesX.phar/src/revivalpmmp/pureentities/PureEntities(284): revivalpmmp\pureentities\PureEntities::create(integer 11, pocketmine\level\Position object)
#8 plugins/SilkSpawnersRN[1.10].phar/src/silkSpawners/main/Loader(274): revivalpmmp\pureentities\PureEntities->scheduleCreatureSpawn(pocketmine\level\Position object, integer 11, pocketmine\level\Level object, string Cow)
#9 plugins/SilkSpawnersRN[1.10].phar/src/silkSpawners/main/Loader(286): silkSpawners\main\Loader->spawning()
#10 src/pocketmine/scheduler/TaskHandler(159): silkSpawners\main\SpawnerTaskMob->onRun(integer 1)
#11 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1)
#12 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#13 src/pocketmine/Server(2559): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#14 src/pocketmine/Server(2335): pocketmine\Server->tick()
#15 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
#16 src/pocketmine/Server(1775): pocketmine\Server->start()
#17 src/pocketmine/PocketMine(258): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/multicraft/servers/server267/, string /home/minecraft/multicraft/servers/server267/plugins/)
#18 (1): require(string phar:///home/minecraft/multicraft/servers/server267/customphar72.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show