GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
272 stars 163 forks source link

GT sword not consider a "sword" tool when breaking cobweb #1540

Closed GuiLaroche closed 1 month ago

GuiLaroche commented 3 months ago

Checked for existing issues

Tested latest version

GregTech CEu Version

Latest

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

Its a modpack, so a lot, but I'm pretty sure the bug dont come from them.

(Sword from other mods doesnt have the issue.)

Expected Behavior

Cobweb block should be able to be mine and drop string when destroy using a gt sword.

Actual Behavior

The cobweb break slowly and doesnt drop anything.

Steps to Reproduce

  1. Place a cobweb.
  2. Try to mine it with any gt sword.

Additional Information

I saw this for cobweb but I think the issue may be the same for any block at require a sword to break.

screret commented 2 months ago

"latest" isn't very descriptive. what MC version, for example?

GuiLaroche commented 2 months ago

"latest" isn't very descriptive. what MC version, for example?

Its GregTechCEu 1.20.1-1.3.1. Sorry idk why I forgot the mod exist on 1.19 and 1.21 too

YoungOnionMC commented 2 months ago

"latest" isn't very descriptive. what MC version, for example?

It's broken for me as well on dev, the cobweb check never hits for gt swords even though they should call sword super break function