Merge branch 'master' of https://github.com/MylesIsCool/ViaVersion
This commit is contained in:
commit
3780210f76
|
@ -101,8 +101,10 @@ public class OutgoingTransformer {
|
||||||
}
|
}
|
||||||
if (packet == PacketType.PLAY_EFFECT) {
|
if (packet == PacketType.PLAY_EFFECT) {
|
||||||
int effectid = input.readInt();
|
int effectid = input.readInt();
|
||||||
if (effectid >= 1000 && effectid < 2000) //Sound effect
|
if (effectid >= 1000 && effectid < 2000 && effectid != 1005) //Sound effect
|
||||||
throw new CancelException();
|
throw new CancelException();
|
||||||
|
if (effectid == 1005) //Fix jukebox
|
||||||
|
effectid = 1010;
|
||||||
output.writeInt(effectid);
|
output.writeInt(effectid);
|
||||||
}
|
}
|
||||||
if (packet == PacketType.PLAY_ATTACH_ENTITY) {
|
if (packet == PacketType.PLAY_ATTACH_ENTITY) {
|
||||||
|
|
Loading…
Reference in New Issue