3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 00:00:28 +01:00

Removed Herobrine.

Dieser Commit ist enthalten in:
HugoDaBosss 2016-03-05 00:00:50 +01:00
Ursprung 9c88d0a37f
Commit ace178834e

Datei anzeigen

@ -73,6 +73,12 @@ public class OutgoingTransformer {
PacketUtil.writeVarInt(catid, output); PacketUtil.writeVarInt(catid, output);
output.writeBytes(input); 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) { if (packet == PacketType.PLAY_ATTACH_ENTITY) {
int passenger = input.readInt(); int passenger = input.readInt();
int vehicle = input.readInt(); int vehicle = input.readInt();