From 65c90b951a6f437e58df502a38410188a10ed0eb Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 16 Jan 2015 23:08:37 +0000 Subject: [PATCH] SPIGOT-326: Fix an overflow issue which caused particles to only show in a 1 block radius --- CraftBukkit-Patches/0061-Particle-API.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CraftBukkit-Patches/0061-Particle-API.patch b/CraftBukkit-Patches/0061-Particle-API.patch index 0bfd7716e..941edce61 100644 --- a/CraftBukkit-Patches/0061-Particle-API.patch +++ b/CraftBukkit-Patches/0061-Particle-API.patch @@ -142,7 +142,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - int packetData = effect.getId(); - PacketPlayOutWorldEvent packet = new PacketPlayOutWorldEvent(packetData, new BlockPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()), data, false); - getHandle().playerConnection.sendPacket(packet); -+ spigot().playEffect(loc, effect, data, 0, 0, 0, 0, 1, 1, Integer.MAX_VALUE); ++ spigot().playEffect(loc, effect, data, 0, 0, 0, 0, 1, 1, 64); // Spigot } @Override