Hydrogen compat fix (#154)
This commit is contained in:
parent
5d81d7b448
commit
38eaf8be67
6 changed files with 83 additions and 3 deletions
|
@ -230,7 +230,7 @@ public class EndBiomes {
|
|||
* @param server - {@link MinecraftServer}
|
||||
*/
|
||||
public static void initRegistry(MinecraftServer server) {
|
||||
if (biomeRegistry == null) {
|
||||
if (biomeRegistry == null || biomeRegistry == BuiltinRegistries.BIOME) {
|
||||
biomeRegistry = server.registryAccess().registryOrThrow(Registry.BIOME_REGISTRY);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue