mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-10-06 02:17:27 +02:00
Whoops
This commit is contained in:
parent
e7ad3970cc
commit
72205a5414
@ -51,7 +51,7 @@ public class Particle1_17Type extends Type<Particle> {
|
|||||||
if (resourceLocation.equals("block")) {
|
if (resourceLocation.equals("block")) {
|
||||||
particle.getArguments().add(new Particle.ParticleData(Type.POSITION1_14, Type.POSITION1_14.read(buffer))); // Target block pos
|
particle.getArguments().add(new Particle.ParticleData(Type.POSITION1_14, Type.POSITION1_14.read(buffer))); // Target block pos
|
||||||
} else if (resourceLocation.equals("entity")) {
|
} 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 {
|
} else {
|
||||||
Via.getPlatform().getLogger().warning("Unknown vibration path position source type: " + resourceLocation);
|
Via.getPlatform().getLogger().warning("Unknown vibration path position source type: " + resourceLocation);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user