public Console(CoreSubsystem core, List<ConsolePlugInExtension> extensions) { this.core = core; manager = core.getFriendManager(); if (extensions == null) { extensions = new ArrayList<ConsolePlugInExtension>(); // Create empty list } else { this.extensions = extensions; } }
private void showbuilds() { for (Friend f : core.getFriendManager().friends()) { printer.println( f.getAllianceBuildNumber() + ": " + core.getFriendManager().nickname(f.getGuid())); } }