Minor change to wire percent damage

This commit is contained in:
Robert S 2014-04-14 21:26:56 -04:00
parent 59c2eba174
commit 49501a31a2

View file

@ -90,7 +90,7 @@ public abstract class PartAdvancedWire extends PartConductor
public void onEntityCollision(Entity entity)
{
if (!this.isInsulated() && this.getNetwork() instanceof IElectricalNetwork)
ElectricalDamage.handleElectrocution(entity, this, (IElectricalNetwork) this.getNetwork(), 1);
ElectricalDamage.handleElectrocution(entity, this, (IElectricalNetwork) this.getNetwork());
}
@Override