Make LinkageUtils better with Error handling
Dieser Commit ist enthalten in:
Ursprung
abb52aeaf7
Commit
5d2f92227c
@ -29,6 +29,7 @@ import java.io.InputStreamReader;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.*;
|
||||
import java.util.logging.Level;
|
||||
|
||||
@UtilityClass
|
||||
public class LinkageUtils {
|
||||
@ -53,7 +54,7 @@ public class LinkageUtils {
|
||||
} catch (ClassNotFoundException e) {
|
||||
// ignored
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
Bukkit.getLogger().log(Level.WARNING, e.getMessage(), e);
|
||||
}
|
||||
});
|
||||
} catch (IOException e) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren