Rename main to BU internally declaring BU as BU (#14)

* [CI-SKIP] Update actions workflow addressing latest deprecations

* Rename main to BU internally

* Delete unused help command
This commit is contained in:
NotMyFault authored and GitHub committed 2020-12-01 20:18:41 +01:00
1 parent 063df280ee
commit dac0f60c18
64 files changed
+113 -209

No files matched your search

@@ -22,17 +22,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package net.arcaniax.buildersutilities.utils;
import net.arcaniax.buildersutilities.Main;
import net.arcaniax.buildersutilities.BuildersUtilities;
public class NmsManager {
private final String version;
public NmsManager() {
String packageString = Main.getInstance().getServer().getClass().getPackage().getName();
String packageString = BuildersUtilities.getInstance().getServer().getClass().getPackage().getName();
version = packageString.substring(packageString.lastIndexOf('.') + 1);
}