Stop referencing deprecated method

This commit is contained in:
Nick 2015-12-01 22:58:01 -08:00
parent 26e3888004
commit 305b5e165f

View file

@ -73,7 +73,7 @@ public class ItemPackSelfSacrifice extends ItemArmor implements IAltarManipulato
boolean shouldSyphon = player.getHealth() / player.getMaxHealth() > HEALTHREQ && getStoredLP(stack) < CAPACITY;
if (shouldSyphon & world.getTotalWorldTime() % INTERVAL == 0) {
NetworkHelper.hurtPlayer(player, 1.0F);
NetworkHelper.getSoulNetwork(player.getName(), world).hurtPlayer(1.0F);
addLP(stack, CONVERSION);
}
}