mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 08:18:00 +01:00
Bump version
This commit is contained in:
parent
1147249059
commit
f74d7be038
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in a new issue