mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-23 21:49:52 +00:00
Tag Orb of Armok as creative.
Add LP to network rather than directly setting it.
This commit is contained in:
1 parent
008382ef29
commit
de330b87c6
1 file changed
+7
-1
@@ -41,7 +41,8 @@ public class ItemOrbArmok extends Item implements IBloodOrb, IBindable {
|
||||
NBTTagCompound itemTag = stack.stackTagCompound;
|
||||
if (itemTag == null || itemTag.getString("ownerName").equals("")) return;
|
||||
|
||||
SoulNetworkHandler.setCurrentEssence(itemTag.getString("ownerName"), getMaxEssence());
|
||||
SoulNetworkHandler
|
||||
.addCurrentEssenceToMaximum(itemTag.getString("ownerName"), Integer.MAX_VALUE, getMaxEssence());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,6 +66,11 @@ public class ItemOrbArmok extends Item implements IBloodOrb, IBindable {
|
||||
return 6;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFilledForFree() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumRarity getRarity(ItemStack itemstack) {
|
||||
return LudicrousItems.cosmic;
|
||||
|
||||
Reference in new issue
Block a user