Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
unnecessary cancel when auto-team is disabled
Dieser Commit ist enthalten in:
Ursprung
f46a2bb618
Commit
44be8b3791
@ -183,10 +183,10 @@ public class WorldPackets {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
wrapper.set(Type.VAR_INT, 0, checkStorage(wrapper.user(), position, newId));
|
wrapper.set(Type.VAR_INT, 0, checkStorage(wrapper.user(), position, newId));
|
||||||
// Workaround for packet order issue
|
|
||||||
wrapper.send(Protocol1_13To1_12_2.class, true, true);
|
|
||||||
wrapper.cancel();
|
|
||||||
if (Via.getConfig().isServersideBlockConnections()) {
|
if (Via.getConfig().isServersideBlockConnections()) {
|
||||||
|
// Workaround for packet order issue
|
||||||
|
wrapper.send(Protocol1_13To1_12_2.class, true, true);
|
||||||
|
wrapper.cancel();
|
||||||
ConnectionData.update(userConnection, position);
|
ConnectionData.update(userConnection, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren