TF-EssentialsX/Essentials
Max Roncace 935b5cfe0f Fix unbreakable attribute for kits (#2071) @caseif
This PR fixes the `unbreakable` attribute on kit items. Previously, Essentials was exclusively using an internal Spigot method to set this on `ItemMeta` objects; however, this solution seems to be non-functional on more recent Spigot builds (1.12.2).

I have altered the `MetaItemStack#setUnbreakable` method to use the native Bukkit method, available for [some time now](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/d986a3f), by default. Essentials will still use the old solution as a fallback in case of an older Bukkit version which does not have native support for the attribute.
2018-08-25 11:33:17 +01:00
..
src Fix unbreakable attribute for kits (#2071) @caseif 2018-08-25 11:33:17 +01:00
test/com/earth2me/essentials Update to 1.12. :D 2017-06-18 19:54:04 +01:00
kits.yml Move kits to kits.yml (#1774) 2018-01-18 00:25:00 -08:00
pom.xml Fix versioning of NMS modules (#1971) 2018-05-18 01:23:20 -07:00