Air Sigil

This commit is contained in:
Nick 2015-11-02 19:57:48 -08:00
parent ac5402df6b
commit ed515f5c80
3 changed files with 46 additions and 2 deletions

View file

@ -56,9 +56,9 @@ public class ItemBindable extends Item implements IBindable {
return false;
}
public static boolean syphonBatteries(ItemStack ist, EntityPlayer player, int damageToBeDone) {
public static boolean syphonBatteries(ItemStack stack, EntityPlayer player, int damageToBeDone) {
if (!player.worldObj.isRemote) {
return NetworkHelper.syphonAndDamageFromNetwork(ist, player, damageToBeDone);
return NetworkHelper.getSoulNetwork(BindableHelper.getOwnerName(stack), player.worldObj).syphonAndDamage(damageToBeDone);
} else {
double posX = player.posX;
double posY = player.posY;