1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

final final final small thing

This commit is contained in:
Daniel Walsh 2020-07-20 15:51:32 +01:00
parent 445853bf51
commit d252e5a2b5

View File

@ -88,7 +88,8 @@ public class MetricsService {
// Finally, we're good to start this.
Method start = cl.getDeclaredMethod("start");
String s = cl.getPackage().getImplementationVersion();
System.out.println("Invoking start");
// This is required to be sync due to bStats.
Slimefun.runSync(() -> {
try {
start.invoke(null);