Update patches to latest 1.21.4 #1

Merged
Chaoscaot merged 242 commits from update/1.21.4 into main 2025-04-23 22:27:11 +02:00
Showing only changes of commit 91bfb6fb7e - Show all commits

View File

@@ -1464,7 +1464,7 @@
if (this.level() instanceof ServerLevel serverLevel) {
profilerFiller.push("freezing");
- if (!this.isInPowderSnow || !this.canFreeze()) {
+ if (!this.isInPowderSnow || !this.canFreeze() && !this.freezeLocked) { // Paper - Freeze Tick Lock API
+ if ((!this.isInPowderSnow || !this.canFreeze()) && !this.freezeLocked) { // Paper - Freeze Tick Lock API
this.setTicksFrozen(Math.max(0, this.getTicksFrozen() - 2));
}