Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +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));
|
||||||
|
if (Via.getConfig().isServersideBlockConnections()) {
|
||||||
// Workaround for packet order issue
|
// Workaround for packet order issue
|
||||||
wrapper.send(Protocol1_13To1_12_2.class, true, true);
|
wrapper.send(Protocol1_13To1_12_2.class, true, true);
|
||||||
wrapper.cancel();
|
wrapper.cancel();
|
||||||
if (Via.getConfig().isServersideBlockConnections()) {
|
|
||||||
ConnectionData.update(userConnection, position);
|
ConnectionData.update(userConnection, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren