1 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/armor/ShieldedEnchant(41): pocketmine\entity\effect\EffectInstance->__construct(object pocketmine\entity\effect\Effect#31788, int 2147483647, int -3, false)
2 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/ToggleTrait(38): DaPigGuy\PiggyCustomEnchants\enchants\armor\ShieldedEnchant->toggle(object pocketmine\player\Player#273807, object pocketmine\item\Armor#233004, object pocketmine\inventory\ArmorInventory#144311, int 0, int 2, false)
3 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/ToggleTrait(88): DaPigGuy\PiggyCustomEnchants\enchants\ToggleableEnchantment->onToggle(object pocketmine\player\Player#273807, object pocketmine\item\Armor#233004, object pocketmine\inventory\ArmorInventory#144311, int 0, int 2, false)
A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: PiggyCustomEnchants
Error: Amplifier must be in range 0 - 255, got -3 File: pmsrc/src/entity/effect/EffectInstance Line: 111 Type: InvalidArgumentException Backtrace:
0 pmsrc/src/entity/effect/EffectInstance(44): pocketmine\entity\effect\EffectInstance->setAmplifier(int -3)
1 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/armor/ShieldedEnchant(41): pocketmine\entity\effect\EffectInstance->__construct(object pocketmine\entity\effect\Effect#31788, int 2147483647, int -3, false)
2 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/ToggleTrait(38): DaPigGuy\PiggyCustomEnchants\enchants\armor\ShieldedEnchant->toggle(object pocketmine\player\Player#273807, object pocketmine\item\Armor#233004, object pocketmine\inventory\ArmorInventory#144311, int 0, int 2, false)
3 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/enchants/traits/ToggleTrait(88): DaPigGuy\PiggyCustomEnchants\enchants\ToggleableEnchantment->onToggle(object pocketmine\player\Player#273807, object pocketmine\item\Armor#233004, object pocketmine\inventory\ArmorInventory#144311, int 0, int 2, false)
4 plugins/PiggyCustomEnchants (2).phar/src/DaPigGuy/PiggyCustomEnchants/EventListener(262): DaPigGuy\PiggyCustomEnchants\enchants\ToggleableEnchantment::attemptToggle(object pocketmine\player\Player#273807, object pocketmine\item\Armor#233004, object pocketmine\item\enchantment\EnchantmentInstance#142549, object pocketmine\inventory\ArmorInventory#144311, int 0, false)
5 pmsrc/src/event/RegisteredListener(60): DaPigGuy\PiggyCustomEnchants\EventListener->onQuit(object pocketmine\event\player\PlayerQuitEvent#149497)
6 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent#149497)
7 pmsrc/src/player/Player(2127): pocketmine\event\Event->call()
8 pmsrc/src/network/mcpe/NetworkSession(600): pocketmine\player\Player->onPostDisconnect(string[17] client disconnect, null)
9 pmsrc/src/network/mcpe/NetworkSession(533): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe{closure}()
10 pmsrc/src/network/mcpe/NetworkSession(602): pocketmine\network\mcpe\NetworkSession->tryDisconnect(object Closure#334573, string[17] client disconnect)