Merge pull request #771 from IntellectualSites/16r2customRegistry

Change Method on 1.16 R2
This commit is contained in:
NotMyFault 2020-12-07 18:49:12 +01:00 committed by GitHub
commit 55ba004c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -430,7 +430,7 @@ public final class FAWE_Spigot_v1_16_R2 extends CachedBukkitAdapter implements I
@Override @Override
public int getInternalBiomeId(BiomeType biome) { public int getInternalBiomeId(BiomeType biome) {
BiomeBase base = CraftBlock.biomeToBiomeBase(MinecraftServer.getServer().aX().b(IRegistry.ay), BukkitAdapter.adapt(biome)); BiomeBase base = CraftBlock.biomeToBiomeBase(MinecraftServer.getServer().getCustomRegistry().b(IRegistry.ay), BukkitAdapter.adapt(biome));
return MinecraftServer.getServer().aX().b(IRegistry.ay).a(base); return MinecraftServer.getServer().getCustomRegistry().b(IRegistry.ay).a(base);
} }
} }