Implement shop purchase limits

This commit is contained in:
Melledy
2025-11-14 08:08:02 -08:00
parent 484ca84e00
commit c4d564abb6
10 changed files with 176 additions and 28 deletions

View File

@@ -0,0 +1,15 @@
package emu.nebula.util;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
public class String2IntMap extends Object2IntOpenHashMap<String> {
private static final long serialVersionUID = -7301945177198000055L;
public int get(String key) {
return super.getInt(key);
}
public FastEntrySet<String> entries() {
return super.object2IntEntrySet();
}
}