Poison cleanup
This commit is contained in:
parent
9af570cd02
commit
851aad251c
|
@ -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
|
||||
{
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue