Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Patch inventory shield bug
Dieser Commit ist enthalten in:
Ursprung
175606f320
Commit
57931e7231
@ -163,6 +163,18 @@ public class IncomingTransformer {
|
||||
if (packet == PacketType.PLAY_CLOSE_WINDOW_REQUEST) {
|
||||
info.closeWindow();
|
||||
}
|
||||
if (packet == PacketType.PLAY_CLIENT_STATUS) {
|
||||
int action = PacketUtil.readVarInt(input);
|
||||
PacketUtil.writeVarInt(action, input);
|
||||
|
||||
if (action == 2) {
|
||||
// cancel any blocking >.>
|
||||
if (startedBlocking) {
|
||||
sendSecondHandItem(null);
|
||||
startedBlocking = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (packet == PacketType.PLAY_CLIENT_SETTINGS) {
|
||||
String locale = PacketUtil.readString(input);
|
||||
PacketUtil.writeString(locale, output);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren