Skip to content

Commit

Permalink
Update debug method name
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Jan 24, 2025
1 parent 1faa526 commit 9e3ec73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class ServerChunkCacheMixin implements ThreadOwnedObject {
@Inject(
method = {"getChunk", "getChunkFuture"}, at = @At(value = "INVOKE", target = "Ljava/util/concurrent/CompletableFuture;supplyAsync(Ljava/util/function/Supplier;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;")
)
private void bruh(int i, int j, ChunkStatus chunkStatus, boolean bl, CallbackInfoReturnable<ChunkAccess> cir) {
private void debugOffthreadAccess(int i, int j, ChunkStatus chunkStatus, boolean bl, CallbackInfoReturnable<ChunkAccess> cir) {
Thread currentThread = Thread.currentThread();

if (WorldThreadingManager.DEBUG) {
Expand Down

0 comments on commit 9e3ec73

Please sign in to comment.