WeaponMechanics / WeaponMechanicsCosmeticsWiki

Wiki for the WeaponMechanicsCosmetics plugin
6 stars 0 forks source link

Show_Time action bar problem while reloding a full weapon #7

Closed Herobrine15432 closed 2 years ago

Herobrine15432 commented 2 years ago

Has this issue already been reported? Did you ask for help before making this report?

Current Behavior

If you reload a full weapon and you have the Show_Time enabled with action bar in reload, the action bar will sometimes stay locked ad 0.1 seconds

Expected Behavior

Action bar shouldn't lock at 0.1

Steps To Reproduce

Explained

Frequency

90%

Version and Log

image

Anything else?

No response

DeeCaaD commented 2 years ago

https://github.com/WeaponMechanics/MechanicsMain/blob/master/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/weapon/reload/ReloadHandler.java#L192

Here as reminder for me

DeeCaaD commented 2 years ago

Fixed https://github.com/WeaponMechanics/MechanicsMain/commit/515f8f7522e7af63a1762e59c473f05e3348fa6b