-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect ifn check on folia's tracker process
- Loading branch information
Showing
16 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
.../minecraft-patches/features/0022-Fix-incorrect-ifn-check-on-folia-s-tracker-process.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: MrHua269 <wangxyper@163.com> | ||
Date: Sun, 26 Jan 2025 23:11:33 +0800 | ||
Subject: [PATCH] Fix incorrect ifn check on folia's tracker process | ||
|
||
|
||
diff --git a/net/minecraft/server/level/ChunkMap.java b/net/minecraft/server/level/ChunkMap.java | ||
index 4bdb05948e9102304364f3681ce353f1cf2a0aee..5c507be097051de9a43a31bbc6190c3db7688667 100644 | ||
--- a/net/minecraft/server/level/ChunkMap.java | ||
+++ b/net/minecraft/server/level/ChunkMap.java | ||
@@ -902,7 +902,7 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider | ||
// Folia start - region threading | ||
for (Entity possible : this.level.getCurrentWorldData().trackerEntities) { | ||
ChunkMap.TrackedEntity trackedEntity1 = possible.moonrise$getTrackedEntity(); | ||
- if (trackedEntity == null) { | ||
+ if (trackedEntity1 == null) { | ||
continue; | ||
} | ||
// Folia end - region threading |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.