From 912dfae454d7f5b0a51aed86491a6e77daa66550 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 2 Mar 2016 16:51:03 +1100 Subject: [PATCH] SPIGOT-1623: Use correct spawnParticle overloads. --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 +- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 45b5de6a09..7023979afd 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/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/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 9a0835d751..6d700fa687 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/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