From e111270aede7d97f3a91d9c030aeac241cfd6b90 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 22 Nov 2018 15:19:12 +0000 Subject: [PATCH] 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. --- bukkit/src/main/resources/plugin.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index 6fabeaff..d016b07d 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -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