menu
#4218647 Undefined index: AIPTU3110

Submitted by PocketMine-MP 3.12.0

General information

Version: 3.12.0
Git commit: 77d45bf1
Plugin involvement: Direct
Report date: 2020-05-22 20:46:17 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux Shosting 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64

Error information

Warning: the PiggyCustomEnchants plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: AIPTU3110
File: plugins/PiggyCustomEnchant.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/PiggyCustomEnchant.phar/src/DaPigGuy/PiggyCustomEnchants/enchants/armor/ForcefieldEnchant(39): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[26] Undefined index: AIPTU3110, string[119] phar:///root/pmmp/plugins/PiggyCustomEnchant.phar/src/DaPigGuy/PiggyCustomEnchan, integer 39, array[5])
#1 plugins/PiggyCustomEnchant.phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/TickingTrait(45): DaPigGuy\PiggyCustomEnchants\enchants\armor\ForcefieldEnchant->tick(object pocketmine\Player, object pocketmine\item\DiamondBoots, object pocketmine\inventory\ArmorInventory, integer 3, integer 5)
#2 plugins/PiggyCustomEnchant.phar/src/DaPigGuy/PiggyCustomEnchants/tasks/TickEnchantmentsTask(86): DaPigGuy\PiggyCustomEnchants\enchants\armor\ForcefieldEnchant->onTick(object pocketmine\Player, object pocketmine\item\DiamondBoots, object pocketmine\inventory\ArmorInventory, integer 3, integer 5)
#3 src/pocketmine/scheduler/TaskHandler(134): DaPigGuy\PiggyCustomEnchants\tasks\TickEnchantmentsTask->onRun(integer 310486)
#4 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 310486)
#5 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 310486)
#6 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 310486)
#7 src/pocketmine/Server(2143): pocketmine\Server->tick()
#8 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1584): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[11] /root/pmmp/, string[19] /root/pmmp/plugins/)
#11 src/pocketmine/PocketMine(296): pocketmine\server()
#12 (11): require(string[66] phar:///root/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show