Show reason for invalid plugin

This commit is contained in:
Dinnerbone 2011-01-05 22:56:31 +00:00
parent 72c378f1d1
commit a0c449559a
2 changed files with 752 additions and 752 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ public final class CraftServer implements Server {
pluginManager.enablePlugin(plugin);
}
} catch (Throwable ex) {
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, "(Is it up to date?)", ex);
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, ex.getMessage() + " (Is it up to date?)", ex);
}
} else {
pluginFolder.mkdir();