Skip to content

Commit

Permalink
Revert "New API to hook into level loading"
Browse files Browse the repository at this point in the history
This reverts commit a489655.
  • Loading branch information
quiqueck committed Nov 29, 2021
1 parent e4ca217 commit bf8368b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 125 deletions.
121 changes: 0 additions & 121 deletions src/main/java/ru/bclib/api/LifeCycleAPI.java

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/java/ru/bclib/mixin/common/ServerLevelMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import ru.bclib.api.BiomeAPI;
import ru.bclib.api.LifeCycleAPI;

import java.util.List;
import java.util.concurrent.Executor;
Expand All @@ -41,8 +40,5 @@ private void bclib_onServerWorldInit(MinecraftServer server, Executor workerExec
}

bclib_lastWorld = session.getLevelId();

ServerLevel world = ServerLevel.class.cast(this);
LifeCycleAPI._onLevelLoad(world, server, workerExecutor, session, properties, registryKey, dimensionType, worldGenerationProgressListener, chunkGenerator, debugWorld, l, list, bl);
}
}

0 comments on commit bf8368b

Please sign in to comment.