Closed Tomatoh closed 3 years ago
I do not see a use for these should you perhaps change
public Item getCoilForTier(int tier) in src/main/java/com/blakebr0/ironjetpacks/registry/jetpackregistry.java
from
public Item getCoilForTier(int tier) { return this.tiers.indexOf(tier) >= this.tiers.size() / 2 ? ModItems.ADVANCED_COIL.get() : ModItems.BASIC_COIL.get(); }
to
public Item getCoilForTier(int tier) { if this.tiers.indexOf(tier) == 3 { return ModItems.ADVANCED_COIL.get(); } else if this.tiers.indexOf(tier) == 4 { return ModItems.ELITE_COIL.get(); } else if this.tiers.indexOf(tier) == 5 { return ModItems.ULTIMATE_COIL.get(); } else { return ModItems.BASIC_COIL.get(); } }
I do not see a use for these should you perhaps change
public Item getCoilForTier(int tier) in src/main/java/com/blakebr0/ironjetpacks/registry/jetpackregistry.java
from
to