Reset 'stance' to something valid after receiving a broken one. Hopefully stops the server from falling over.
Dieser Commit ist enthalten in:
Ursprung
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
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren