Adding currency data to Hall feed.
This commit is contained in:
@@ -45,6 +45,7 @@ public class HallResource extends AbstractResource {
|
|||||||
Document doc = documentBuilder.newDocument();
|
Document doc = documentBuilder.newDocument();
|
||||||
|
|
||||||
Element hall = doc.createElement("hall");
|
Element hall = doc.createElement("hall");
|
||||||
|
hall.setAttribute("currency", String.valueOf(_collectionManager.getPlayerCollection(resourceOwner, "permanent").getCurrency()));
|
||||||
String motd = _hallServer.getMOTD();
|
String motd = _hallServer.getMOTD();
|
||||||
if (motd != null)
|
if (motd != null)
|
||||||
hall.setAttribute("motd", motd);
|
hall.setAttribute("motd", motd);
|
||||||
|
|||||||
Reference in New Issue
Block a user