Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Send team at difficulty to avoid any issues with bungee #161
Dieser Commit ist enthalten in:
Ursprung
44907b3e8d
Commit
0b1cb61986
@ -549,12 +549,13 @@ public class OutgoingTransformer {
|
|||||||
clientEntityTypes.put(id, EntityType.PLAYER);
|
clientEntityTypes.put(id, EntityType.PLAYER);
|
||||||
output.writeInt(id);
|
output.writeInt(id);
|
||||||
output.writeBytes(input);
|
output.writeBytes(input);
|
||||||
// send fake team
|
return;
|
||||||
|
}
|
||||||
|
if (packet == PacketType.PLAY_SERVER_DIFFICULTY) {
|
||||||
if (plugin.isAutoTeam()) {
|
if (plugin.isAutoTeam()) {
|
||||||
autoTeam = true;
|
autoTeam = true;
|
||||||
sendTeamPacket(true);
|
sendTeamPacket(true);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (packet == PacketType.PLAY_SPAWN_PLAYER) {
|
if (packet == PacketType.PLAY_SPAWN_PLAYER) {
|
||||||
int id = PacketUtil.readVarInt(input);
|
int id = PacketUtil.readVarInt(input);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren