Skip to content

Commit

Permalink
Fixed ParticleConverter#convertToBukkit return type for retro compati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
fulminazzo committed Dec 23, 2024
1 parent b6f88d2 commit 90fd034
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enum ParticleConverter {
* @param particle the particle
* @return the converted particle
*/
public static org.bukkit.Particle convertToBukkit(final @NotNull Particle particle) {
public static Object convertToBukkit(final @NotNull Particle particle) {
try {
return EnumUtils.valueOf(org.bukkit.Particle.class, particle.getType());
} catch (IllegalArgumentException e) {
Expand Down

0 comments on commit 90fd034

Please sign in to comment.