SteamWar/SpigotCore
Archiviert
13
0

Fix getTypedMethod recursion
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-02-08 21:52:07 +01:00
Ursprung 4efd305bf9
Commit 22f598753e

Datei anzeigen

@ -251,7 +251,7 @@ public final class Reflection {
// Search in every superclass // Search in every superclass
if (clazz.getSuperclass() != null) if (clazz.getSuperclass() != null)
return getMethod(clazz.getSuperclass(), methodName, params); return getTypedMethod(clazz.getSuperclass(), methodName, returnType, params);
throw new IllegalStateException(String.format("Unable to find method %s (%s).", methodName, Arrays.asList(params))); throw new IllegalStateException(String.format("Unable to find method %s (%s).", methodName, Arrays.asList(params)));
} }