Skip to content

Commit

Permalink
[release]change spawn strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinWD committed Oct 10, 2019
1 parent 7e630c4 commit cc4abd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/think/rpgitems/power/impl/PowerBeam.java
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ private void spawnParticle(Entity from, World world, Location lastLocation, int
if ((lastLocation.distance(eyeLocation) < 1)) {
return;
}
if (spawnedLength.get() > 32 && spawnInWorld >=3) {
if (spawnInWorld >=3) {
((Player) from).spawnParticle(this.particle, lastLocation, i, offsetX, offsetY, offsetZ, particleSpeed, extraData);
spawnInWorld = 0;
} else {
Expand Down

0 comments on commit cc4abd5

Please sign in to comment.