update threads to 1.15.1

This commit is contained in:
gnembon committed 2019-12-25 03:33:25 -04:00
1 parent b09982e02c
commit 0b296cc05c
3 files changed
+5 -5

No files matched your search

@@ -764,7 +764,7 @@ public class EntityValue extends Value
if (!(e instanceof LivingEntity)) return;
LivingEntity le = (LivingEntity)e;
if (v == null)
le.clearPotionEffects();
le.clearStatusEffects();
else if (v instanceof ListValue)
{
List<Value> lv = ((ListValue) v).getItems();
@@ -786,7 +786,7 @@ public class EntityValue extends Value
boolean showIcon = true;
if (lv.size() > 4)
showIcon = lv.get(4).getBoolean();
le.addPotionEffect(new StatusEffectInstance(effect, duration, amplifier, showParticles, showIcon));
le.addStatusEffect(new StatusEffectInstance(effect, duration, amplifier, showParticles, showIcon));
return;
}
}