From 0c941465b1ca388f40186187c2e375da9b0fa4de Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 7 Dec 2020 17:21:02 +0100 Subject: [PATCH] Change Method on 1.16 R2 --- .../worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_16_R2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_16_R2.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_16_R2.java index 17564978a..966831373 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_16_R2.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_16_R2.java @@ -430,7 +430,7 @@ public final class FAWE_Spigot_v1_16_R2 extends CachedBukkitAdapter implements I @Override public int getInternalBiomeId(BiomeType biome) { - BiomeBase base = CraftBlock.biomeToBiomeBase(MinecraftServer.getServer().aX().b(IRegistry.ay), BukkitAdapter.adapt(biome)); - return MinecraftServer.getServer().aX().b(IRegistry.ay).a(base); + BiomeBase base = CraftBlock.biomeToBiomeBase(MinecraftServer.getServer().getCustomRegistry().b(IRegistry.ay), BukkitAdapter.adapt(biome)); + return MinecraftServer.getServer().getCustomRegistry().b(IRegistry.ay).a(base); } }