Skip to content

Commit

Permalink
Fixed data types
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Apr 8, 2024
1 parent edb3868 commit 374abc6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private WrappersAdapter() {}
*/
public static void spawnParticle(final @NotNull World world, final @NotNull Particle particle,
double x, double y, double z, int count) {
spawnParticle(world, particle, x, y, z, count, 0, 0, 0);
spawnParticle(world, particle, x, y, z, count, 0.0, 0.0, 0.0);
}

/**
Expand All @@ -63,7 +63,7 @@ public static void spawnParticle(final @NotNull World world, final @NotNull Part
*/
public static void spawnParticle(final @NotNull World world, final @NotNull Particle particle,
final @NotNull Location location, int count) {
spawnParticle(world, particle, location, count, 0, 0, 0);
spawnParticle(world, particle, location, count, 0.0, 0.0, 0.0);
}

/**
Expand Down Expand Up @@ -99,7 +99,7 @@ public static void spawnParticle(final @NotNull World world, final @NotNull Part
public static void spawnParticle(final @NotNull World world, final @NotNull Particle particle,
final @NotNull Location location, int count,
double offsetX, double offsetY, double offsetZ) {
spawnParticle(world, particle, location, count, offsetX, offsetY, offsetZ, 0);
spawnParticle(world, particle, location, count, offsetX, offsetY, offsetZ, 0.0);
}

/**
Expand Down Expand Up @@ -152,7 +152,7 @@ public static void spawnParticle(final @NotNull World world, final @NotNull Part
*/
public static void spawnParticle(final @NotNull Player player, final @NotNull Particle particle,
double x, double y, double z, int count) {
spawnParticle(player, particle, x, y, z, count, 0, 0, 0);
spawnParticle(player, particle, x, y, z, count, 0.0, 0.0, 0.0);
}

/**
Expand All @@ -165,7 +165,7 @@ public static void spawnParticle(final @NotNull Player player, final @NotNull Pa
*/
public static void spawnParticle(final @NotNull Player player, final @NotNull Particle particle,
final @NotNull Location location, int count) {
spawnParticle(player, particle, location, count, 0, 0, 0);
spawnParticle(player, particle, location, count, 0.0, 0.0, 0.0);
}

/**
Expand Down Expand Up @@ -201,7 +201,7 @@ public static void spawnParticle(final @NotNull Player player, final @NotNull Pa
public static void spawnParticle(final @NotNull Player player, final @NotNull Particle particle,
final @NotNull Location location, int count,
double offsetX, double offsetY, double offsetZ) {
spawnParticle(player, particle, location, count, offsetX, offsetY, offsetZ, 0);
spawnParticle(player, particle, location, count, offsetX, offsetY, offsetZ, 0.0);
}

/**
Expand Down

0 comments on commit 374abc6

Please sign in to comment.