3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Merge pull request #771 from IntellectualSites/16r2customRegistry

Change Method on 1.16 R2
Dieser Commit ist enthalten in:
NotMyFault 2020-12-07 18:49:12 +01:00 committet von GitHub
Commit 55ba004c3f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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);
}
}