PowerNukkit / PowerNukkit

A Nukkit fork which supports new Minecraft Bedrock features
GNU General Public License v3.0
237 stars 61 forks source link

Double chests unlink if placed between two chunks #1053

Open MonoAdrian23 opened 3 years ago

MonoAdrian23 commented 3 years ago

🐞 I found a bug

I have placed a Doublechest and have filled this with cobblestone. After a while, this chest is empty. But after I have tried to break this chest, all chest Inventory was dropped. I think, this is a problem when a Doublechest is placed in two different chunks. ### 📸 Screenshots / Videos

▶ Steps to Reproduce

  1. Place a Doublechest
  2. Fill it with many items
  3. After a certain time, this chest is shown as empty
  4. Break the chest and you can see, all items in chest dropped
  5. I have tested it at Powernukkit Testserver too and it happens without Plugins.

✔ Expected Behavior

❌ Actual Behavior

📋 Debug information

💢 Crash Dump, Stack Trace and Other Files

💬 Anything else we should know?

powernukkit[bot] commented 3 years ago

Hey @MonoAdrian23, thank you for the report!

:eye_speech_bubble: Detected the commit: 3bb9763889a2d90d25083b4c7755973ebae80b99

Smeo00 commented 3 years ago

I tried having a look at this in nukkit and reliably recreated it, maybe this adds info. https://github.com/CloudburstMC/Nukkit/issues/1738

joserobjr commented 3 years ago

Related: #842 #257

MonoAdrian23 commented 3 years ago

I have test it with my Chesthop Plugin. When a Doublechest is placed in a different chunk, the first 3 Lines of the Doublechest cant check the Chest Inventory

alikindsys commented 3 years ago

bumped cause this issue really should be fixed. may try to fix it even.

alikindsys commented 3 years ago

according to cloudburst this (e80b79f) commit should've fixed it, but it doesn't seem to be really fixed since the date on that commit is May 20 2021 (merged on #1097 est. May 28 2021) while we got people reporting this same issue on Apr 30 2021 and Jun 4 2021 . marked as Re-check needed even though I believe its unfixed.

alikindsys commented 2 years ago

As seen by #1301 this bug seems to be still happening. This is already at the highest possible priority. I'll mark it as checked and remove the Re-check wanted tag.