Skip to content

Commit

Permalink
Infinity Armor effect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooy1 committed Apr 18, 2021
1 parent f08c00e commit 765f00a
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public final class InfinityArmor extends SlimefunArmorPiece implements Protectiv

public static void setup(InfinityExpansion plugin) {
new InfinityArmor(CROWN, new PotionEffect[] {
new PotionEffect(PotionEffectType.NIGHT_VISION, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.CONDUIT_POWER, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.NIGHT_VISION, 600, 0, false, false, false),
new PotionEffect(PotionEffectType.CONDUIT_POWER, 600, 0, false, false, false),
}, new ItemStack[] {
null, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, null,
Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY,
Expand All @@ -41,9 +41,9 @@ public static void setup(InfinityExpansion plugin) {
null, null, null, null, null, null
}).register(plugin);
new InfinityArmor(CHESTPLATE, new PotionEffect[] {
new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 240, 1, false, false, false),
new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 240, 0, false, false, false)
new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 600, 0, false, false, false),
new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 600, 1, false, false, false),
new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 600, 0, false, false, false)
}, new ItemStack[] {
null, Items.INFINITY, null, null, Items.INFINITY, null,
Items.INFINITY, Items.VOID_INGOT, Items.INFINITY, Items.INFINITY, Items.VOID_INGOT, Items.INFINITY,
Expand All @@ -53,9 +53,9 @@ public static void setup(InfinityExpansion plugin) {
null, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, null
}).register(plugin);
new InfinityArmor(LEGGINGS, new PotionEffect[] {
new PotionEffect(PotionEffectType.FAST_DIGGING, 240, 2, false, false, false),
new PotionEffect(PotionEffectType.REGENERATION, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.SATURATION, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.FAST_DIGGING, 600, 2, false, false, false),
new PotionEffect(PotionEffectType.REGENERATION, 600, 0, false, false, false),
new PotionEffect(PotionEffectType.SATURATION, 600, 0, false, false, false),
}, new ItemStack[] {
null, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, null,
Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY, Items.INFINITY,
Expand All @@ -65,8 +65,8 @@ public static void setup(InfinityExpansion plugin) {
null, Items.INFINITY, null, null, Items.INFINITY, null
}).register(plugin);
new InfinityArmor(BOOTS, new PotionEffect[] {
new PotionEffect(PotionEffectType.SPEED, 240, 2, false, false, false),
new PotionEffect(PotionEffectType.DOLPHINS_GRACE, 240, 0, false, false, false),
new PotionEffect(PotionEffectType.SPEED, 600, 2, false, false, false),
new PotionEffect(PotionEffectType.DOLPHINS_GRACE, 600, 0, false, false, false),
}, new ItemStack[] {
null, null, null, null, null, null,
Items.INFINITY, Items.INFINITY, null, null, Items.INFINITY, Items.INFINITY,
Expand Down

0 comments on commit 765f00a

Please sign in to comment.