Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-24 23:30:15 +01:00
Merge pull request #126 from HugoDaBosss/herobrine
Removed Herobrine.
Dieser Commit ist enthalten in:
Commit
2ba92a0d47
@ -73,6 +73,12 @@ public class OutgoingTransformer {
|
||||
PacketUtil.writeVarInt(catid, output);
|
||||
output.writeBytes(input);
|
||||
}
|
||||
if (packet == PacketType.PLAY_EFFECT) {
|
||||
int effectid = input.readInt();
|
||||
if(effectid >= 1000 && effectid < 2000) //Sound effect
|
||||
throw new CancelException();
|
||||
output.writeInt(effectid);
|
||||
}
|
||||
if (packet == PacketType.PLAY_ATTACH_ENTITY) {
|
||||
int passenger = input.readInt();
|
||||
int vehicle = input.readInt();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren