* 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.
This commit is contained in:
tastybento 2020-07-15 20:23:51 -07:00 committed by GitHub
parent 3550ab9e5b
commit 2eeb581a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@
<!-- Do not change unless you want different name for local builds. -->
<build.number>-LOCAL</build.number>
<!-- This allows to change between versions. -->
<build.version>1.14.1</build.version>
<build.version>1.14.2</build.version>
</properties>
<!-- Profiles will allow to automatically change build version. -->

View File

@ -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)