mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Merge pull request #771 from IntellectualSites/16r2customRegistry
Change Method on 1.16 R2
This commit is contained in:
commit
55ba004c3f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user