Merge branch '1.18' of github.com-quiqueck:paulevsGitch/BCLib into 1.18

This commit is contained in:
Frank 2021-12-03 12:28:41 +01:00
commit 64c3d90458
7 changed files with 26 additions and 4 deletions

View file

@ -96,8 +96,8 @@ public class BiomeAPI {
*
* @param server - {@link MinecraftServer}
*/
public static void initRegistry(MinecraftServer server) {
biomeRegistry = server.registryAccess().registryOrThrow(Registry.BIOME_REGISTRY);
public static void initRegistry( Registry<Biome> biomeRegistry) {
BiomeAPI.biomeRegistry = biomeRegistry;
CLIENT.clear();
}