WeaponMechanics / MechanicsMain

A New Age of Weapons in Minecraft.
https://www.spigotmc.org/resources/WeaponMechanics.99913/
MIT License
71 stars 26 forks source link

Primitive config #410

Open CJCrafter opened 2 months ago

CJCrafter commented 2 months ago

Fixes #395

This PR prevents boxing/unboxing of primitive types in maps. We can have easily 20+ unboxing events happen every tick per player, especially in triggers. The FastConfiguration class stores separate maps from fastutil, so each primitive type is handled separately.

CJCrafter commented 2 months ago

WeaponMechanics.zip

a quick build if anybody wants to try this