Use long distance particle by default

This commit is contained in:
TheMode 2021-04-23 10:38:13 +02:00
parent 844671daab
commit f432308197

View File

@ -30,7 +30,7 @@ public class ParticleCreator {
particlePacket.particleData = particleData; particlePacket.particleData = particleData;
particlePacket.particleCount = count; particlePacket.particleCount = count;
if(dataWriter != null) { if (dataWriter != null) {
BinaryWriter writer = new BinaryWriter(); BinaryWriter writer = new BinaryWriter();
dataWriter.accept(writer); dataWriter.accept(writer);
particlePacket.data = writer.toByteArray(); particlePacket.data = writer.toByteArray();
@ -45,7 +45,7 @@ public class ParticleCreator {
double x, double y, double z, double x, double y, double z,
float offsetX, float offsetY, float offsetZ, float offsetX, float offsetY, float offsetZ,
int count) { int count) {
return createParticlePacket(particleType, false, return createParticlePacket(particleType, true,
x, y, z, x, y, z,
offsetX, offsetY, offsetZ, offsetX, offsetY, offsetZ,
0, count, null); 0, count, null);