From 72205a5414f799b7456a272dcd44078bd731d272 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Wed, 9 Dec 2020 11:47:59 +0100 Subject: [PATCH] Whoops --- .../ViaVersion/api/type/types/minecraft/Particle1_17Type.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/api/type/types/minecraft/Particle1_17Type.java b/common/src/main/java/us/myles/ViaVersion/api/type/types/minecraft/Particle1_17Type.java index 92dc29cf9..8593ecce6 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/type/types/minecraft/Particle1_17Type.java +++ b/common/src/main/java/us/myles/ViaVersion/api/type/types/minecraft/Particle1_17Type.java @@ -51,7 +51,7 @@ public class Particle1_17Type extends Type { if (resourceLocation.equals("block")) { particle.getArguments().add(new Particle.ParticleData(Type.POSITION1_14, Type.POSITION1_14.read(buffer))); // Target block pos } else if (resourceLocation.equals("entity")) { - particle.getArguments().add(new Particle.ParticleData(Type.POSITION1_14, Type.POSITION1_14.read(buffer))); // Target entity + particle.getArguments().add(new Particle.ParticleData(Type.VAR_INT, Type.VAR_INT.read(buffer))); // Target entity } else { Via.getPlatform().getLogger().warning("Unknown vibration path position source type: " + resourceLocation); }