Fix item particle id

Fixes ViaVersion/ViaVersion#1852
This commit is contained in:
KennyTV 2020-06-28 09:20:01 +02:00
parent 8deeda641a
commit e38cb88640
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -185,7 +185,7 @@ public class BlockItemPackets1_16 extends nl.matsv.viabackwards.api.rewriters.It
});
blockRewriter.registerEffect(ClientboundPackets1_16.EFFECT, 1010, 2001, BlockItemPackets1_16::getOldItemId);
blockRewriter.registerSpawnParticle(ClientboundPackets1_16.SPAWN_PARTICLE, 3, 23, 32,
blockRewriter.registerSpawnParticle(ClientboundPackets1_16.SPAWN_PARTICLE, 3, 23, 34,
BlockItemPackets1_16::getNewParticleId, this::handleItemToClient, Type.FLAT_VAR_INT_ITEM, Type.DOUBLE);
protocol.registerOutgoing(ClientboundPackets1_16.WINDOW_PROPERTY, new PacketRemapper() {