Fixed client crash

This commit is contained in:
Sollace 2019-03-05 18:42:49 +02:00
parent 7abb696b76
commit 793a742776

View file

@ -35,7 +35,7 @@ public class EntityProjectile extends EntitySnowball implements IMagicals, ICast
.createKey(EntityProjectile.class, DataSerializers.BOOLEAN); .createKey(EntityProjectile.class, DataSerializers.BOOLEAN);
private static final DataParameter<NBTTagCompound> EFFECT = EntityDataManager private static final DataParameter<NBTTagCompound> EFFECT = EntityDataManager
.createKey(EntitySpell.class, DataSerializers.COMPOUND_TAG); .createKey(EntityProjectile.class, DataSerializers.COMPOUND_TAG);
private final EffectSync<EntityLivingBase> effectDelegate = new EffectSync<>(this, EFFECT); private final EffectSync<EntityLivingBase> effectDelegate = new EffectSync<>(this, EFFECT);