omeranha / MekaWeapons

an unofficial addon for Mekanism
https://www.curseforge.com/minecraft/mc-mods/mekanism-weapons
MIT License
2 stars 7 forks source link

Fix mekabow autofire not working properly when attack speed too high #21

Open azoor-desu opened 3 months ago

azoor-desu commented 3 months ago

The Meka Bow's autofire unit does not work when player's attack speed is vastly increased. To replicate: Equip God's Crown from Reliquary mod (+120% all stats), Meka Bow's autofire stops working properly. (MC version 1.19.2, but probably happens on other versions too). Bug can probably be replicated with any other way to increase attack speed.

Changed firing check from == to <= as a hotfix.