This commit is contained in:
KennyTV 2020-12-09 11:47:59 +01:00
parent e7ad3970cc
commit 72205a5414
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -51,7 +51,7 @@ public class Particle1_17Type extends Type<Particle> {
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);
}