mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 04:25:19 +01:00
Fixes error reporting on plugin startup to not print Exception correctly
This commit is contained in:
parent
c9f7e73b8b
commit
e57342ab2a
@ -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!",
|
||||
|
Loading…
Reference in New Issue
Block a user