varunbln / Spawners

Pocketmine plugin made in PHP implementing stackable spawners
GNU Lesser General Public License v3.0
35 stars 23 forks source link

Player Crashed "UnespectedValueExeption" #107

Closed Sulfuritium closed 3 years ago

Sulfuritium commented 3 years ago

Hello, I discovered in the logs of players who crashed with the error below.

UnexpectedValueException: "Item for pocketmine\entity\object\ItemEntity is invalid" (EXCEPTION) in "pmsrc/src/pocketmine/entity/object/ItemEntity" at line 78

0 pmsrc/src/pocketmine/entity/Entity(638): pocketmine\entity\object\ItemEntity->initEntity()

1 pmsrc/src/pocketmine/entity/Entity(381): pocketmine\entity\Entity->__construct(object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag)

2021-07-06 [23:51:01] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/level/Level(1674): pocketmine\entity\Entity::createEntity(string[4] Item, object pocketmine\level\Level, object pocketmine\nbt\tag\CompoundTag) 2021-07-06 [23:51:01] [Server thread/CRITICAL]: #3 plugins/BurgerSpawners_dev-92 (1).phar/src/Heisenburger69/BurgerSpawners/Items/SpawnerBlock(138): pocketmine\level\Level->dropItem(object pocketmine\math\Vector3, object pocketmine\item\ItemBlock) 2021-07-06 [23:51:01] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/level/Level(1827): Heisenburger69\BurgerSpawners\Items\SpawnerBlock->onBreak(object pocketmine\item\Pickaxe, object JackMD\NameSpaceRemover\CustomPlayer)

varunbln commented 3 years ago

Please include steps on how to replicate it or how/when it occurred