getting the right name in pluginversions

This commit is contained in:
jomo
2014-07-14 01:00:06 +02:00
parent 5838739985
commit c6bfe7c3d1

View File

@@ -102,7 +102,7 @@ def onPluginversionsCommand(sender, args):
plugins.sort(key=lambda pl: pl.getName())
msg(sender, "&3Listing all " + str(len(plugins)) + " plugins and their version:")
for plugin in plugins:
msg(sender, "&6" + plugin.getName() + "&r: &e" + plugin.getDescription().getVersion())
msg(sender, "&6" + plugin.getDescription().getName() + "&r: &e" + plugin.getDescription().getVersion())
return True
#