Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
More accurate length setting
Dieser Commit ist enthalten in:
Ursprung
f042d214d3
Commit
332f931534
@ -185,7 +185,7 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler {
|
|||||||
startPos = packet.getCommand().length() + 1;
|
startPos = packet.getCommand().length() + 1;
|
||||||
length = longestLength;
|
length = longestLength;
|
||||||
} else {
|
} else {
|
||||||
length = packet.getCommand().substring(startPos).indexOf(' ') + 1;
|
length = packet.getCommand().length() - startPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
resp.setStart(startPos);
|
resp.setStart(startPos);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren