mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 18:15:39 +01:00
Send team at difficulty to avoid any issues with bungee #161
This commit is contained in:
parent
44907b3e8d
commit
0b1cb61986
@ -549,12 +549,13 @@ public class OutgoingTransformer {
|
||||
clientEntityTypes.put(id, EntityType.PLAYER);
|
||||
output.writeInt(id);
|
||||
output.writeBytes(input);
|
||||
// send fake team
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_SERVER_DIFFICULTY) {
|
||||
if (plugin.isAutoTeam()) {
|
||||
autoTeam = true;
|
||||
sendTeamPacket(true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_SPAWN_PLAYER) {
|
||||
int id = PacketUtil.readVarInt(input);
|
||||
|
Loading…
Reference in New Issue
Block a user