mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-16 19:51:35 +01:00
Removed Herobrine.
This commit is contained in:
parent
9c88d0a37f
commit
ace178834e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user