From 670a5083d1500e876a9182007230b0ac4980d31c Mon Sep 17 00:00:00 2001 From: TheFlash787 Date: Thu, 13 Aug 2020 00:03:46 +0100 Subject: [PATCH] Added getServerCode in the distromanager --- app/assets/js/distromanager.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/js/distromanager.js b/app/assets/js/distromanager.js index a4cafff..97ec4aa 100644 --- a/app/assets/js/distromanager.js +++ b/app/assets/js/distromanager.js @@ -398,6 +398,13 @@ class Server { return this.mainServer } + /** + * @returns {string} The server code for this server + */ + getServerCode(){ + return this.serverCode + } + /** * @returns {boolean} Whether or not the server is autoconnect. * by default.