Glowstone-Legacy
Glowstone-Legacy copied to clipboard
Breaking chests does not drop its contents
Breaking chests does not drop the items inside it. It will be gone forever.
In creative or survival? It should work in survival, but nothing is dropped in creative
Creative mode - It should still drop items in creative mode
The "problem" is that the current implementation just changes the drop list of a chest to add all items; but since in creative not a single item is dropped, the drop list is ignored.
Maybe change it so that we do dropItemNaturally() on block break, rather than setting the drops? That way the items will be dropped regardless, while the chest itself won't be.
@ZephireNZ Wouldn't that have the same problem? I don't think Glowstone currently implements item drops, so the items would just disappear just like they do now.
Dropping items is possible.
That's a different problem, though. As long as we tell it to drop the right thing, we can fix that later. On 22/09/2014 7:53 am, "Dabo Ross" [email protected] wrote:
@ZephireNZ https://github.com/ZephireNZ Wouldn't that have the same problem? I don't think Glowstone currently implements item drops, so the items would just disappear just like they do now.
Reply to this email directly or view it on GitHub https://github.com/GlowstoneMC/Glowstone/issues/328#issuecomment-56310402 .