From 56b0c8a366667721519f2672e5126f219e459840 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sat, 1 Dec 2018 04:07:01 -0500 Subject: [PATCH] Fix particles not working for some 1.8.5+ users, fixes #540 --- src/main/java/me/blackvein/quests/NpcEffectThread.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/blackvein/quests/NpcEffectThread.java b/src/main/java/me/blackvein/quests/NpcEffectThread.java index 4db28075c..c1bf63411 100644 --- a/src/main/java/me/blackvein/quests/NpcEffectThread.java +++ b/src/main/java/me/blackvein/quests/NpcEffectThread.java @@ -85,7 +85,12 @@ public class NpcEffectThread implements Runnable { showEffect_1_9_R2(player, npc, effectType); } else if (Quests.bukkitVersion.contains("1.9")) { showEffect_1_9_R1(player, npc, effectType); - } else if (Quests.bukkitVersion.contains("1.8.4")) { + } else if (Quests.bukkitVersion.contains("1.8.9") + || Quests.bukkitVersion.contains("1.8.8") + || Quests.bukkitVersion.contains("1.8.7") + || Quests.bukkitVersion.contains("1.8.6") + || Quests.bukkitVersion.contains("1.8.5") + || Quests.bukkitVersion.contains("1.8.4")) { showEffect_1_8_R3(player, npc, effectType); } else if (Quests.bukkitVersion.contains("1.8.3")) { showEffect_1_8_R2(player, npc, effectType);