Cleanup the SoulNetwork a bit.
Should work now?
This commit is contained in:
parent
352c6b9e5f
commit
e0b073b8b7
7 changed files with 130 additions and 69 deletions
|
@ -58,7 +58,7 @@ public class ItemBindable extends Item implements IBindable {
|
|||
|
||||
public static boolean syphonBatteries(ItemStack stack, EntityPlayer player, int damageToBeDone) {
|
||||
if (!player.worldObj.isRemote) {
|
||||
return NetworkHelper.getSoulNetwork(BindableHelper.getOwnerName(stack), player.worldObj).syphonAndDamage(damageToBeDone);
|
||||
return NetworkHelper.syphonAndDamage(NetworkHelper.getSoulNetwork(BindableHelper.getOwnerName(stack), player.worldObj), damageToBeDone);
|
||||
} else {
|
||||
double posX = player.posX;
|
||||
double posY = player.posY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue