mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-04-16 17:16:00 +02:00
parent
8f7b530613
commit
765fd9e987
@ -253,9 +253,9 @@ public class Metrics {
|
||||
for (RegisteredServiceProvider<?> provider : Bukkit.getServicesManager().getRegistrations(service)) {
|
||||
try {
|
||||
pluginData.add(provider.getService().getMethod("getPluginData").invoke(provider.getProvider()));
|
||||
} catch (Exception ignored) { }
|
||||
} catch (Throwable ignored) { }
|
||||
}
|
||||
} catch (Exception ignored) { }
|
||||
} catch (Throwable ignored) { }
|
||||
}
|
||||
|
||||
data.put("plugins", pluginData);
|
||||
|
Loading…
Reference in New Issue
Block a user