9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00

Temp disable hot reload for async features

This commit is contained in:
Dreeam
2025-06-13 22:03:34 +08:00
parent bc4ca38c83
commit 9c0d0a828c
5 changed files with 10 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ From: hayanesuru <hayanesuru@outlook.jp>
Date: Wed, 4 Jun 2025 20:54:32 +0900
Subject: [PATCH] preload mob spawning position
No need
Removed since Leaf 1.21.4, No need
diff --git a/net/minecraft/world/level/NaturalSpawner.java b/net/minecraft/world/level/NaturalSpawner.java
index 458b17dca84c87591b030679c5aac6259c0f8308..c69922ac2b831d8af35c9e98a34825e6b8a268da 100644

View File

@@ -3,6 +3,9 @@ From: HaHaWTH <102713261+HaHaWTH@users.noreply.github.com>
Date: Tue, 9 Nov 2077 00:00:00 +0800
Subject: [PATCH] Lithium: equipment tracking
TODO: needs to fix issues related to Piglins lose the crossbow animation
original report is in discord.
Should have special treatment to ArmorStand, since Paper introduced the configurable
ArmorStand no-tick, and still gives it ability to update equipment changes.
Thus added a bypass condition in LivingEntity#collectEquipmentChanges, always send

View File

@@ -32,7 +32,8 @@ public class AsyncPlayerDataSaving {
new ThreadPoolExecutor.DiscardPolicy()
);
} else {
throw new IllegalStateException();
// Temp no-op
//throw new IllegalStateException();
}
}

View File

@@ -43,7 +43,8 @@ public class AsyncPathProcessor {
getRejectedPolicy()
);
} else {
throw new IllegalStateException();
// Temp no-op
//throw new IllegalStateException();
}
}

View File

@@ -46,7 +46,8 @@ public class MultithreadedTracker {
getRejectedPolicy()
);
} else {
throw new IllegalStateException();
// Temp no-op
//throw new IllegalStateException();
}
}