mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Implement shop purchase limits
This commit is contained in:
1 parent
484ca84e00
commit
c4d564abb6
10 files changed
+176
-28
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user