Refined Storage

Refined Storage

77M Downloads

[1.12] Shulker Box Dupe Bug

G-Stav opened this issue ยท 2 comments

commented

Issue description:

Shulker boxes duped with constructors/destructors.

What happens:

When using a Destructor to break a shulker box an empty one is input into the RS system whilst the "real" shulkerbox containing items turns into an item entity on the ground.

What you expected to happen:

I expect the shulker box to be inserted into the RS system and not duping? On the bright side the duped box is empty otherwise it could be exploited for super duper cheatiness.

Steps to reproduce:

2017-08-04_11 56 38

  1. See image

...

Version (make sure you are on the latest version before reporting):

  • Minecraft: 1.12
  • Forge: forge-14.21.1.2443
  • Refined Storage: refinedstorage-1.5.14.jar

Does this issue occur on a server? Yes

If a (crash)log is relevant for this issue, link it here:

[pastebin/gist/etc link here]

commented

On a similar note, I decided to test out the Immersive Engineering storage crates to see if it too was affected by the bug, and the Destructor simply deletes the inventory of the IE Crate, but does not dupe the crate. Not sure if I should make a separate bug report how you would prefer it to be reported.

Edit: Thermal Expansions Strongboxes are also affected. The Strongbox was first upgraded into the Resonant version, then when broken by the Destructor it turned into the regular version with the inventory cleared. Then when attempting to open the "regular" strongbox the game crashed.

I am not a programmer and I don't know much about what I'm talking about but I think it may have something to do with the method the destructor uses to destroy items?

commented

RS uses Block#getDrops for that, those mods just have a nonstandard way of handling the destruction.