Fixes error reporting on plugin startup to not print Exception correctly

This commit is contained in:
Christian Koop 2022-02-10 18:57:05 +01:00
parent c9f7e73b8b
commit e57342ab2a
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -218,7 +218,7 @@ public abstract class SongodaPlugin extends JavaPlugin {
*
* @param th The error(s) that occurred
*/
protected void criticalErrorOnPluginStartup(Throwable... th) {
protected void criticalErrorOnPluginStartup(Throwable th) {
Bukkit.getLogger().log(Level.SEVERE,
String.format(
"Unexpected error while loading %s v%s c%s: Disabling plugin!",