Poison cleanup

This commit is contained in:
Kino 2016-12-24 12:39:54 -05:00
parent 9af570cd02
commit 851aad251c
3 changed files with 1 additions and 8 deletions

View file

@ -5,8 +5,6 @@ import net.minecraft.entity.IProjectile;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.world.World;
import com.legacy.aether.server.entities.projectile.EntityPoisonNeedle;
public abstract class EntityDartBase extends EntityArrow implements IProjectile
{

View file

@ -43,7 +43,7 @@ public class EntityDartPoison extends EntityDartBase
{
if (!this.worldObj.isRemote)
{
PlayerAether.get(ent).afflictPoison();
player.afflictPoison();
AetherNetworkingManager.sendToAll(new PacketSendPoison(ent));
this.setDead();

View file

@ -57,11 +57,6 @@ public class AetherPoisonMovement
public boolean afflictPoison()
{
if (!this.thePlayer.worldObj.isRemote && this.poisonTime < 0)
{
return false;
}
this.poisonTime = 500;
return true;