menu
#3223627 Undefined index: FireGamer444

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Direct
Report date: 2019-11-28 22:53:56 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux c5b62ef00af2 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 x86_64

Error information

Warning: the PiggyCustomEnchants plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: FireGamer444
File: plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/enchants/armor/ForcefieldEnchant
Line: #39
Error level: ErrorException
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
    /**
* @param Player $player
* @param Item $item
* @param Inventory $inventory
* @param int $slot
* @param int $level
*/
public function tick(Player $player, Item $item, Inventory $inventory, int $slot, int $level): void
{
$forcefieldLevel = $this->stack[$player->getName()];
if ($forcefieldLevel > 0) {
$radius = $forcefieldLevel * 0.75;
$entities = $player->getLevel()->getNearbyEntities($player->getBoundingBox()->expandedCopy($radius, $radius, $radius), $player);
foreach ($entities as $entity) {
if ($entity instanceof Projectile) {
if ($entity->getOwningEntity() !== $player) {
$entity->setMotion($entity->getMotion()->multiply(-1));
}
} else {
if (!$entity instanceof ItemEntity && !$entity instanceof ExperienceOrb && !isset($entity->namedtag->getValue()["SlapperVersion"])) {
#0 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/enchants/armor/ForcefieldEnchant(39): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[29] Undefined index: FireGamer444, string[125] phar:///aternos/server/plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustom, integer 39, array[5])
#1 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/TickingTrait(45): DaPigGuy\PiggyCustomEnchants\enchants\armor\ForcefieldEnchant->tick(object pocketmine\Player, object pocketmine\item\DiamondChestplate, object pocketmine\inventory\ArmorInventory, integer 1, integer 1)
#2 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/tasks/TickEnchantmentsTask(86): DaPigGuy\PiggyCustomEnchants\enchants\armor\ForcefieldEnchant->onTick(object pocketmine\Player, object pocketmine\item\DiamondChestplate, object pocketmine\inventory\ArmorInventory, integer 1, integer 1)
#3 src/pocketmine/scheduler/TaskHandler(159): DaPigGuy\PiggyCustomEnchants\tasks\TickEnchantmentsTask->onRun(integer 38202)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 38202)
#5 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 38202)
#6 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 38202)
#7 src/pocketmine/Server(2346): pocketmine\Server->tick()
#8 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1784): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#11 src/pocketmine/PocketMine(300): pocketmine\server()
#12 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show