Different mixin for BiomeModification call
This commit is contained in:
parent
f5ee249bbb
commit
7b64221b55
4 changed files with 63 additions and 13 deletions
|
@ -38,8 +38,9 @@ public abstract class ServerLevelMixin extends Level {
|
|||
ServerLevel world = ServerLevel.class.cast(this);
|
||||
LifeCycleAPI._runLevelLoad(world, server, executor, levelStorageAccess, serverLevelData, resourceKey, dimensionType, chunkProgressListener, chunkGenerator, bl, l, list, bl2);
|
||||
|
||||
BiomeAPI.initRegistry(server);
|
||||
BiomeAPI.applyModifications(ServerLevel.class.cast(this));
|
||||
//called from RegistryReadOpsMixin for now
|
||||
// BiomeAPI.initRegistry(server);
|
||||
// BiomeAPI.applyModifications(ServerLevel.class.cast(this));
|
||||
|
||||
if (bclib_lastWorld != null && bclib_lastWorld.equals(levelStorageAccess.getLevelId())) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue