Gun Hit Delay Glitch and
Summary Gun Hit Delay
Guns that fire at extremely fast rate will have a 0.5s delay or so when hitting a mob, such as a creeper, but will fire normally when it aims for a normal area. I tried several other methods like @targetLocation but there didnt seem to work. The issue does NOT happen when removing the gun aspect of the item. This happens with both vanilla and custom mobs. Being opped/deopped made no difference. Before updating to 1.16.4 from 1.16.1, this never happened and I was using the latest artifacts build. I recently updated to MythicCrucible and removed MythicArtifacts but issue still persists. No errors appear in the console, so not quite sure whats causing it.
Steps to reproduce
Add flamethrower item and skill to there respective configs and then reload the plugin. I then give myself the item with /mm items command and then do /mob creeper 10. Firing in the air will work normally, but when projectiles land at the creepers, it has a large delay.
Flamethrower Item (With Ammo): https://pastebin.com/0HhuVWw9
Flamethrower Item (Without Ammo): https://pastebin.com/wE1wqkDH
Flamethrower Skills: https://pastebin.com/33A4p8Li
Current behavior
Several guns I use such as AK47 and Flamethrower have extremely fast firerates, but when hitting a mob, the delay will hinder the dps/versatility of the weapon, and players will not be able to use them like intended.
Intended correct behavior
The flamethrower should be firing at its intended cooldown of 0.1s (2 ticks) per projectile in all circumstances, including hitting mobs.
Server log file
https://www.dropbox.com/s/2p2xdp91q9nzwrc/latest.log?dl=0
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.
Debug log snippet
Proposed fixes
Not really sure. Only know is its definitely related to the gun type of MythicCrucible.