Skip to content

Commit

Permalink
Include base 1.8 for particles
Browse files Browse the repository at this point in the history
  • Loading branch information
PikaMug committed May 22, 2024
1 parent 7ce87b8 commit c56d358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class BukkitParticleProvider {
final String bukkitVersion = Bukkit.getServer().getBukkitVersion().split("-")[0];
try {
final String packageName = BukkitParticleProvider.class.getPackage().getName();
if (bukkitVersion.startsWith("1.8.")) {
if (bukkitVersion.startsWith("1.8.") || bukkitVersion.equals("1.8")) {
final String internalsName = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
loaded = (BukkitParticleProvider) Class.forName(packageName + ".BukkitParticleProvider_"
+ internalsName).newInstance();
Expand Down

0 comments on commit c56d358

Please sign in to comment.