mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-19 14:41:34 +01:00
Use long distance particle by default
This commit is contained in:
parent
844671daab
commit
f432308197
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user