GregTechCEu / GregTech-Modern

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

Tools have negative mining speeds #1795

Closed Strubbelkopp closed 3 weeks ago

Strubbelkopp commented 1 month ago

Checked for existing issues

Tested latest version

GregTech CEu Version

1.4.0

Minecraft Version

1.21.1

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

JEI

Expected Behavior

Every tool should have the correct mining speed

Actual Behavior

When either crafting a tool or using the /give command to get them, they at first show the correct mining speed on the tooltip (6.0 for the iron pickaxe for example), but as soon as I take the tool in my hand the mining speed becomes negative with a different value (-2.8 for the iron pickaxe). When I get the tool from the creative menu, this doesn't happen. This makes it impossible to mine anything with the tools.

Steps to Reproduce

  1. Craft or use /give to get a tool (iron pickaxe for example) and make sure it lands in a slot that is not your active hand
  2. Look at Mining Speed
  3. Switch your hand to the tool and look at the Mining Speed again, impossible to mine anything with it

Additional Information

The same problem also occured in 1.3.1

GraxMonzo commented 1 month ago

I think it's critical bug that prevents further gameplay

GraxMonzo commented 3 weeks ago

Fixed in 1.4.1 version @Strubbelkopp I think we can close this issue