Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Fix trail particle reading
Dieser Commit ist enthalten in:
Ursprung
f26e370a49
Commit
7985b39ed5
@ -149,9 +149,9 @@ public class ParticleType extends DynamicType<Particle> {
|
|||||||
particle.add(Types.INT, Types.INT.readPrimitive(buf));
|
particle.add(Types.INT, Types.INT.readPrimitive(buf));
|
||||||
};
|
};
|
||||||
public static final DataReader<Particle> TRAIL = (buf, particle) -> {
|
public static final DataReader<Particle> TRAIL = (buf, particle) -> {
|
||||||
particle.add(Types.VAR_INT, Types.VAR_INT.readPrimitive(buf)); // Target X
|
particle.add(Types.DOUBLE, Types.DOUBLE.readPrimitive(buf)); // Target X
|
||||||
particle.add(Types.VAR_INT, Types.VAR_INT.readPrimitive(buf)); // Target Y
|
particle.add(Types.DOUBLE, Types.DOUBLE.readPrimitive(buf)); // Target Y
|
||||||
particle.add(Types.VAR_INT, Types.VAR_INT.readPrimitive(buf)); // Target Z
|
particle.add(Types.DOUBLE, Types.DOUBLE.readPrimitive(buf)); // Target Z
|
||||||
particle.add(Types.INT, Types.INT.readPrimitive(buf)); // Color
|
particle.add(Types.INT, Types.INT.readPrimitive(buf)); // Color
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren