Fixed the helper gem's ai

This commit is contained in:
Sollace 2019-02-05 21:06:10 +02:00
parent 4151721ce7
commit 8cff3f3676

View file

@ -67,8 +67,6 @@ public class SpellDrake extends AbstractSpell {
}
}
if (!source.getWorld().isRemote) {
if (piggyBackSpell == null) {
AxisAlignedBB bb = EFFECT_BOUNDS.offset(source.getOriginVector());
@ -81,7 +79,6 @@ public class SpellDrake extends AbstractSpell {
i.setEffect(null);
});
}
}
if (piggyBackSpell != null) {
piggyBackSpell.update(source, level);