Add api-version option to Bukkit plugin.yml file

This doesn't make any functional change, LP doesn't use any of the remapped Material APIs. It only saves on the amount of remapping CB tries to perform when loading the plugin.
This commit is contained in:
Luck 2018-11-22 15:19:12 +00:00
parent e07f8c0fbe
commit e111270aed
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -7,6 +7,11 @@ website: https://github.com/lucko/LuckPerms
main: me.lucko.luckperms.bukkit.LPBukkitBootstrap
load: STARTUP
# Mark the plugin as 1.13 compatible to avoid CB having to perform quite as much unnecessary
# remapping when the plugin is loaded. Note that despite what this setting might otherwise imply,
# LP is still compatible with pre-1.13 releases.
api-version: 1.13
# This means that all plugins that (soft-)depend on Vault, depend on LuckPerms too.
# It in turn fixes issues where plugins using Vault cache the provided instance
# when their plugin enables, or when they check for the presence of a service