Bump version

This commit is contained in:
Sollace 2021-03-07 12:19:04 +02:00
parent 1147249059
commit f74d7be038
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@ org.gradle.daemon=false
displayname=Unicopia displayname=Unicopia
authors=Sollace authors=Sollace
description=Magical Abilities for Mine Little Pony! description=Magical Abilities for Mine Little Pony!
version=8 version=8b
release=BETA release=BETA
# Dependencies # Dependencies

View file

@ -62,8 +62,10 @@ public class EffectSync implements SpellContainer {
} }
private void sync(boolean force) { private void sync(boolean force) {
@Nullable
CompoundTag comp = owner.getEntity().getDataTracker().get(param); CompoundTag comp = owner.getEntity().getDataTracker().get(param);
@Nullable
Spell effect = spell.orElse(null); Spell effect = spell.orElse(null);
if (comp == null || !comp.contains("effect_id") || !comp.contains("uuid")) { if (comp == null || !comp.contains("effect_id") || !comp.contains("uuid")) {