feat: highscore dialog and list

This commit is contained in:
Martin Prokoph
2025-08-01 20:24:14 +02:00
parent 93c0ee5f95
commit d10313ea76
9 changed files with 72 additions and 8 deletions

View File

@@ -117,7 +117,7 @@ public class NightJson {
Iterator<String> it = Arrays.stream(currentString.substring(1, currentString.length()-1).split(",")).iterator();
while (it.hasNext()) {
String pair = it.next();
System.out.println(pair);
if (!pair.contains(":")) break;
int semicolonPos = pair.indexOf(":");
Class<?> keyType = getPrimitiveType((Class<?>) ((ParameterizedType) field.getGenericType()).getActualTypeArguments()[0]);
Class<?> valType = getPrimitiveType((Class<?>) ((ParameterizedType) field.getGenericType()).getActualTypeArguments()[1]);