Fix decay not saving properly

This commit is contained in:
Electroblob77
2020-09-24 18:56:35 +01:00
parent c56128a7e2
commit c53c9b1793
@@ -8,7 +8,6 @@ import electroblob.wizardry.util.EntityUtils;
import electroblob.wizardry.util.ParticleBuilder;
import electroblob.wizardry.util.ParticleBuilder.Type;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.math.MathHelper;
import net.minecraft.world.World;
@@ -62,11 +61,6 @@ public class EntityDecay extends EntityMagicConstruct {
}
}
// TESTME: What the heck are these two doing?! (Are they a throwback to when this was not a construct?)
@Override protected void readEntityFromNBT(NBTTagCompound nbttagcompound){}
@Override protected void writeEntityToNBT(NBTTagCompound nbttagcompound){}
@Override
public boolean isInRangeToRenderDist(double distance){
return true;