From 371988b00ea1919e512668d02200f6c1e9480f0b Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 2 Mar 2016 16:51:03 +1100 Subject: [PATCH] SPIGOT-1623: Use correct spawnParticle overloads. By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- .../main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 45b5de6a09..7023979afd 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -1367,7 +1367,7 @@ public class CraftWorld implements World { @Override public void spawnParticle(Particle particle, double x, double y, double z, int count, T data) { - spawnParticle(particle, x, y, z, count, 0, 0, 0); + spawnParticle(particle, x, y, z, count, 0, 0, 0, data); } @Override diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 9a0835d751..6d700fa687 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -1359,7 +1359,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { @Override public void spawnParticle(Particle particle, double x, double y, double z, int count, T data) { - spawnParticle(particle, x, y, z, count, 0, 0, 0); + spawnParticle(particle, x, y, z, count, 0, 0, 0, data); } @Override