mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 05:05:18 +01:00
Fixes infinite loop particle bug with blueprint copy/paste
Code analysis suggested this line could be simplified, but it resulted in an infinite loop call to itself: spawnParticle(particle, dustOptions, (double) x, (double) y, (double) z);
This commit is contained in:
parent
e364094a4f
commit
95b0250ece
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user