v3.2.0: removed pre-beta-4 handling code from upgraded set tracker

This commit is contained in:
Evan Debenham
2025-07-31 12:03:52 -04:00
parent 6443a625c6
commit 826aed42eb

View File

@@ -770,10 +770,6 @@ abstract public class MissileWeapon extends Weapon {
public HashMap<Long, Integer> levelThresholds = new HashMap<>();
public static boolean pickupValid(Hero h, MissileWeapon w){
if (Dungeon.initialVersion <= 857){
//skip this for old earlier beta runs just in case
return true;
}
if (h.buff(UpgradedSetTracker.class) != null){
HashMap<Long, Integer> levelThresholds = h.buff(UpgradedSetTracker.class).levelThresholds;
if (levelThresholds.containsKey(w.setID)){