Fixed crash when an item frame is attacked #6 crash
Thanks to @Rubbi for helping
- Code cleanup (unnecessary code removed and deprecated methods replaced)
- Setting weapons.maxDistance moved to weapons.trident.maxDistance
- Fixed random eating restarts
- Removed swing attack animation when using AutoAttack
- New ping update system (updated every tick and accurate)
- Client-side entities are no longer attackable, avoids resetting the cooldown, and prevents any visual glitches on servers with a software that compensates for the effect of ping on crystals (like faster crystals)
- Setting AutoDestroy renamed to AutoAttack
- Crystals now respawn if the server does not confirm their destruction
- New parameter hasFasterCrystals which indicates which server types have a faster crystal by default
- The mod automatically detects if the server has a software that compensates for the effect of ping on crystals to avoid visual glitches with crystals