mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
Reset 'stance' to something valid after receiving a broken one. Hopefully stops the server from falling over.
This commit is contained in:
parent
e24b10dfd9
commit
8dc7b55749
@ -218,6 +218,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
if (d4 > 1.65D || d4 < 0.1D) {
|
||||
this.a("Illegal stance");
|
||||
a.warning(this.e.name + " had an illegal stance: " + d4);
|
||||
d4 = 1.62D; // CraftBukkit - reset the stance to 'the normal' height
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user