LegendOfMCPE / EssentialsPE

Port of Bukkit Essentials for @PocketMine Servers (Moved to @poggit-orphanage)
GNU General Public License v3.0
99 stars 21 forks source link

Errors in console #361

Closed ghost closed 7 years ago

ghost commented 7 years ago

Description

I cannot explain, but my console got spammed with these errors:

Versions

Crashdump or console errors

[Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\inventory\PlayerInventory::setItemInHand() must be an instance of pocketmine\item\Item, null given, called in /home/mcpe/plugins/EssentialsPEPlugin/src/EssentialsPE/EventHandlers/OtherEvents.php on line 57" (EXCEPTION) in "/src/pocketmine/inventory/PlayerInventory" at line 177
2017-05-14 [16:27:28]
[Server thread/CRITICAL]: Could not pass event 'pocketmine\event\block\BlockPlaceEvent' to 'EssentialsPE v2.0.0': Argument 1 passed to pocketmine\inventory\PlayerInventory::setItemInHand() must be an instance of pocketmine\item\Item, null given, called in /home/mcpe/plugins/EssentialsPEPlugin/src/EssentialsPE/EventHandlers/OtherEvents.php on line 57 on EssentialsPE\EventHandlers\OtherEvents
Sandertv commented 7 years ago

Any ideas when this happens?

ghost commented 7 years ago

When placing a block.

Sandertv commented 7 years ago

Everytime?

ghost commented 7 years ago

Yes.