pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.27k stars 1.55k forks source link

Items don't burn when thrown in fire #2143

Closed ahmedhozny closed 6 years ago

ahmedhozny commented 6 years ago

Issue description

I tried to burn some blocks and items in fire. The items disappeared but when I stood up on the block where the flames were existing, all the items returned to my inventory.

Steps to reproduce the issue

  1. Using flint and steal, lit some fire.
  2. Throw some items from your inventory in the fire
  3. turn off the fire using your hand or even walk into the fire.
  4. check your inventory, you will find all the items you've just thrown

OS and versions

Plugins

Crashdump, backtrace or other files

ahmedhozny commented 6 years ago

I've also noticed that items will disappear forever if the server stopped or shut down

Muqsit commented 6 years ago

Yeah, it's because the client despawns the Item entity (not the server), it's annoying.

daniktheboss commented 6 years ago

I can confirm. If you drop items, and tap with flint and steel, the items will disappear but when you walk over you collect them.

dktapps commented 6 years ago

This is the result of a combination of bugs: