Skip to content

Commit b8168a1

Browse files
committed
Fix misaligned PlayerTick hook. Closes MinecraftForge#10796
1 parent df271e0 commit b8168a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/minecraft/net/minecraft/world/entity/player/Player.java.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
this.stopSleepInBed(false, true);
6565
}
6666
} else if (this.sleepCounter > 0) {
67-
@@ -308,6 +_,7 @@
68-
if (!this.getAbilities().flying) {
69-
super.onAboveBubbleColumn(dragDown, pos);
70-
}
67+
@@ -279,6 +_,7 @@
68+
69+
this.cooldowns.tick();
70+
this.updatePlayerPose();
7171
+ net.minecraftforge.event.ForgeEventFactory.onPlayerPostTick(this);
7272
}
7373

0 commit comments

Comments
 (0)