Fix particles not working for some 1.8.5+ users, fixes #540

This commit is contained in:
BuildTools 2018-12-01 04:07:01 -05:00
parent 0894719552
commit 56b0c8a366

View File

@ -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);