From 3d763bddade176afd0145cfb9adb39a26999e313 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sun, 14 Oct 2018 09:50:15 +0200 Subject: [PATCH] Made User#spawnParticle use double instead of int --- src/main/java/world/bentobox/bentobox/api/user/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/api/user/User.java b/src/main/java/world/bentobox/bentobox/api/user/User.java index 54df1a2af..e5be209e7 100644 --- a/src/main/java/world/bentobox/bentobox/api/user/User.java +++ b/src/main/java/world/bentobox/bentobox/api/user/User.java @@ -343,7 +343,7 @@ public class User { * @param y Y coordinate of the particle to display. * @param z Z coordinate of the particle to display. */ - public void spawnParticle(Particle particle, Particle.DustOptions dustOptions, int x, int y, int z) { + public void spawnParticle(Particle particle, Particle.DustOptions dustOptions, double x, double y, double z) { if (particle.equals(Particle.REDSTONE) && dustOptions == null) { // Security check that will avoid later unexpected exceptions. throw new IllegalArgumentException("A non-null Particle.DustOptions must be provided when using Particle.REDSTONE as particle.");