Move SoulNetwork to UUID system
*Should* work correctly. As for all major changes, needs to be thoroughly tested.
This commit is contained in:
parent
8edb8a45e6
commit
24058d7350
14 changed files with 112 additions and 49 deletions
|
@ -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.getSoulNetwork(player.getName(), world).hurtPlayer(1.0F);
|
||||
NetworkHelper.getSoulNetwork(player, world).hurtPlayer(1.0F);
|
||||
addLP(stack, CONVERSION);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue