illusivesoulworks / veinmining

Minecraft Mod: A lightweight, highly configurable Vein Mining enchantment for tools.
Other
30 stars 16 forks source link

[Bug]: requireCorrectTool not working #137

Open KhaosEU opened 2 months ago

KhaosEU commented 2 months ago

Minecraft Version

1.21.0

What happened?

While having the requireCorrectTool setting enabled, you can use any tool or your hand to break certain blocks that are on the blocklist. It doesn't seem to be affecting stone type blocks or ores, however.

Client side is always using Crouching as the activation method.

Example 1: whilst having requireCorrectTool setting enabled and Grass Blocks on the blocklist, you can use any tool or item to Veinmine it.

Example 2: whilst having requireCorrectTool setting enabled and Granite on the blocklist, you can only use the pickaxe to Veinmine it. Using any other tool will only break a single block.

How do you trigger this bug?

Enable requireCorrectTool.

Loader

Fabric

Loader Version

Fabric - 0.16.2

API Version

Fabric API - 0.102.0

Mod Version

veinmining-fabric-5.0.0-beta+1.21

Relevant Log Outputs

No response