So this is actually possible to achieve without any code modification, and with purely yaml features.
I achieved this result by modifying my fish.yml like so:
biome-groups:
ocean_beach: &ocean_beach
? OCEAN
? BEACHSo this is actually possible to achieve without any code modification, and with purely yaml features.
I achieved this result by modifying my fish.yml like so:
biome-groups:
ocean_beach: &ocean_beach
? OCEAN
? BEACH| public final class LuckPermsIntergrationTest extends JavaPlugin { | |
| private static LuckPermsApi luckPermsApi; | |
| @Override | |
| public void onEnable() { | |
| RegisteredServiceProvider<LuckPermsApi> provider = Bukkit.getServicesManager().getRegistration(LuckPermsApi.class); | |
| if (provider != null) { | |
| setLuckPermsApi(provider.getProvider()); | |
| } | |
| // Plugin startup logic |