setEnchantmentGlintOverride method not existing in older mc versions
Summary
In servers before the latest versions the following error is sent because while 1.20.6 has the setEnchantmentGlintOverride method, older servers do not
[15:03:12 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[15:03:12 WARN]: java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.setEnchantmentGlintOverride(java.lang.Boolean)'
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.adapters.item.NbtBukkitItemStack.lambda$enchantmentGlow$7(NbtBukkitItemStack.java:192)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.adapters.item.NbtBukkitItemStack.editMeta(NbtBukkitItemStack.java:39)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.adapters.item.NbtBukkitItemStack.enchantmentGlow(NbtBukkitItemStack.java:192)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.adapters.item.NbtBukkitItemStack.enchantmentGlow(NbtBukkitItemStack.java:29)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.projectiles.bullet.DisplayPacketBullet.build(DisplayPacketBullet.java:211)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.projectiles.bullet.DisplayPacketBullet.lambda$new$1(DisplayPacketBullet.java:169)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[15:03:12 WARN]: at MythicMobs-5.7.0-SNAPSHOT.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[15:03:12 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
[15:03:12 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
[15:03:12 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1653)
[15:03:12 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:450)
[15:03:12 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1532)
[15:03:12 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1227)
[15:03:12 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[15:03:12 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
MM version: Latest dev MC version: 1.20.4 Pufferfish version 49