From b7684d05e0e301cfeb9f0c44e0118d84a159678c Mon Sep 17 00:00:00 2001 From: jascotty2 Date: Mon, 2 Sep 2019 14:20:58 -0500 Subject: [PATCH] fix 1.8 particle adapter --- .../songoda/core/compatibility/ParticleHandler.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/songoda/core/compatibility/ParticleHandler.java b/src/main/java/com/songoda/core/compatibility/ParticleHandler.java index 2e8f5a32..8fcc312f 100644 --- a/src/main/java/com/songoda/core/compatibility/ParticleHandler.java +++ b/src/main/java/com/songoda/core/compatibility/ParticleHandler.java @@ -49,12 +49,13 @@ public class ParticleHandler { BLOCK_CRACK(), // BlockData BLOCK_DUST(), // BlockData WATER_DROP, - // 1.9-1.12 included ITEM_TAKE + // 1.8-1.12 included ITEM_TAKE MOB_APPEARANCE, - DRAGON_BREATH, - END_ROD, - DAMAGE_INDICATOR, - SWEEP_ATTACK, + /// End 1.8 particles /// + DRAGON_BREATH(ServerVersion.V1_9, "SPELL_MOB_AMBIENT"), + END_ROD(ServerVersion.V1_9, "ENCHANTMENT_TABLE"), + DAMAGE_INDICATOR(ServerVersion.V1_9, "VILLAGER_ANGRY"), + SWEEP_ATTACK(ServerVersion.V1_9, "CRIT"), /// End 1.9 particles /// FALLING_DUST(ServerVersion.V1_10, "BLOCK_DUST"), // BlockData /// End 1.10 ///