3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-25 15:50:10 +01:00

Merge pull request #126 from HugoDaBosss/herobrine

Removed Herobrine.
Dieser Commit ist enthalten in:
Myles 2016-03-04 23:03:45 +00:00
Commit 2ba92a0d47

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();