Handle running multiple platforms at a time better.

This commit is contained in:
sk89q
2014-04-05 23:27:10 -07:00
parent d1a69fd985
commit f3e107da90
9 changed files with 148 additions and 16 deletions

View File

@ -119,6 +119,21 @@ public class BukkitServerInterface extends ServerInterface {
return plugin.getLocalConfiguration();
}
@Override
public String getVersion() {
return plugin.getDescription().getVersion();
}
@Override
public String getPlatformName() {
return "Bukkit-Official";
}
@Override
public String getPlatformVersion() {
return plugin.getDescription().getVersion();
}
public void unregisterCommands() {
dynamicCommands.unregisterCommands();
}