mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-28 07:35:43 +00:00
Spotless
This commit is contained in:
1 parent
c11690273c
commit
4216eb9c9e
2 files changed
+2
-4
No files matched your search
@@ -24,8 +24,7 @@ public class BloodStaffUpdate implements IWandRodOnUpdate {
|
||||
|
||||
int cost;
|
||||
String capTag = ((ItemWandCasting) itemstack.getItem()).getCap(itemstack).getTag();
|
||||
if (capTag.equals("alchemical") || capTag.equals("blood_iron"))
|
||||
cost = Config.bloodvis - 1;
|
||||
if (capTag.equals("alchemical") || capTag.equals("blood_iron")) cost = Config.bloodvis - 1;
|
||||
else cost = Config.bloodvis;
|
||||
|
||||
cost = Math.max(0, cost);
|
||||
|
||||
@@ -21,8 +21,7 @@ public class BloodWandUpdate implements IWandRodOnUpdate {
|
||||
|
||||
int cost;
|
||||
String capTag = ((ItemWandCasting) itemstack.getItem()).getCap(itemstack).getTag();
|
||||
if (capTag.equals("alchemical") || capTag.equals("blood_iron"))
|
||||
cost = Config.bloodvis - 1;
|
||||
if (capTag.equals("alchemical") || capTag.equals("blood_iron")) cost = Config.bloodvis - 1;
|
||||
else cost = Config.bloodvis;
|
||||
|
||||
cost = Math.max(0, cost);
|
||||
|
||||
Reference in new issue
Block a user