From 2eeb581a4d97d78fbd1f75b3e7e0aea60b3f1c21 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 15 Jul 2020 20:23:51 -0700 Subject: [PATCH] 1.14.2 (#1453) * Version 1.14.2 * Fixes infinite loop bug when using blueprints. Code analysis tool suggested removing the double casts. This resulted in an infinite loop when using blueprints and particles. --- pom.xml | 2 +- src/main/java/world/bentobox/bentobox/api/user/User.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 6151d304c..5df340c52 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,7 @@ -LOCAL - 1.14.1 + 1.14.2 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 b962f5554..6be471b88 100644 --- a/src/main/java/world/bentobox/bentobox/api/user/User.java +++ b/src/main/java/world/bentobox/bentobox/api/user/User.java @@ -589,7 +589,7 @@ public class User { * @param z Z coordinate of the particle to display. */ public void spawnParticle(Particle particle, Particle.DustOptions dustOptions, int x, int y, int z) { - spawnParticle(particle, dustOptions, x, y, z); + spawnParticle(particle, dustOptions, (double) x, (double) y, (double) z); } /* (non-Javadoc)