OneLemonyBoi / MiniUtilities

https://www.curseforge.com/minecraft/mc-mods/miniutilities
MIT License
12 stars 17 forks source link

[Bug Report] - Molten Tool Head destroys many blocks or their data #143

Closed IminhaK closed 1 year ago

IminhaK commented 1 year ago

Describe the bug Using molten tool head on some blocks destroys them or drops them but without their data Tested: Anvil - destroyed Tinker's fuel tank - drops as empty Shulker box - drops as empty Create's shaft with a belt attached - only drops belt, no shaft

To Reproduce

  1. Enchant tool with Molten tool head
  2. Block drops incorrectly or not at all

Expected behavior Blocks should not be destroyed and their data should be sustained

Mod Info (please complete the following information):

Additional context Probably something to do with how the block's drop is determined that's making it incompatible with blocks that carry additional data that affects how it drops (Anvil damage, tinker's fuel contents, shulker contents, create shaft having a belt, etc)

Line 31 of MoltenHeadHandler.java is probably at fault here

Sp0okz98 commented 1 year ago

This enchantment also bypass any type of spawn protections, factions, worldguard

OneLemonyBoi commented 1 year ago

I apologize for the late response, as there has been a lot going on, but a fix will be made soon.

OneLemonyBoi commented 1 year ago

Fixed