mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Add fallback for when jline fails to initialize. Fixes BUKKIT-1675.
This commit is contained in:
1 parent
21327265f0
commit
94e9543a14
2 files changed
+12
-2
No files matched your search
@@ -932,6 +932,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
} else if (packet19entityaction.animation == 5) {
|
||||
this.player.setSprinting(false);
|
||||
} else if (packet19entityaction.animation == 3) {
|
||||
if (this.player.fauxSleeping && !this.player.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
|
||||
this.player.a(false, true, true);
|
||||
this.checkMovement = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user