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:
@@ -3,7 +3,7 @@ From: hayanesuru <hayanesuru@outlook.jp>
|
|||||||
Date: Wed, 4 Jun 2025 20:54:32 +0900
|
Date: Wed, 4 Jun 2025 20:54:32 +0900
|
||||||
Subject: [PATCH] preload mob spawning position
|
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
|
diff --git a/net/minecraft/world/level/NaturalSpawner.java b/net/minecraft/world/level/NaturalSpawner.java
|
||||||
index 458b17dca84c87591b030679c5aac6259c0f8308..c69922ac2b831d8af35c9e98a34825e6b8a268da 100644
|
index 458b17dca84c87591b030679c5aac6259c0f8308..c69922ac2b831d8af35c9e98a34825e6b8a268da 100644
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ From: HaHaWTH <102713261+HaHaWTH@users.noreply.github.com>
|
|||||||
Date: Tue, 9 Nov 2077 00:00:00 +0800
|
Date: Tue, 9 Nov 2077 00:00:00 +0800
|
||||||
Subject: [PATCH] Lithium: equipment tracking
|
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
|
Should have special treatment to ArmorStand, since Paper introduced the configurable
|
||||||
ArmorStand no-tick, and still gives it ability to update equipment changes.
|
ArmorStand no-tick, and still gives it ability to update equipment changes.
|
||||||
Thus added a bypass condition in LivingEntity#collectEquipmentChanges, always send
|
Thus added a bypass condition in LivingEntity#collectEquipmentChanges, always send
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ public class AsyncPlayerDataSaving {
|
|||||||
new ThreadPoolExecutor.DiscardPolicy()
|
new ThreadPoolExecutor.DiscardPolicy()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException();
|
// Temp no-op
|
||||||
|
//throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ public class AsyncPathProcessor {
|
|||||||
getRejectedPolicy()
|
getRejectedPolicy()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException();
|
// Temp no-op
|
||||||
|
//throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ public class MultithreadedTracker {
|
|||||||
getRejectedPolicy()
|
getRejectedPolicy()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException();
|
// Temp no-op
|
||||||
|
//throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user