mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-12 13:24:00 +01:00
unnecessary cancel when auto-team is disabled
This commit is contained in:
parent
f46a2bb618
commit
44be8b3791
@ -183,10 +183,10 @@ public class WorldPackets {
|
||||
}
|
||||
}
|
||||
wrapper.set(Type.VAR_INT, 0, checkStorage(wrapper.user(), position, newId));
|
||||
if (Via.getConfig().isServersideBlockConnections()) {
|
||||
// Workaround for packet order issue
|
||||
wrapper.send(Protocol1_13To1_12_2.class, true, true);
|
||||
wrapper.cancel();
|
||||
if (Via.getConfig().isServersideBlockConnections()) {
|
||||
ConnectionData.update(userConnection, position);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user