mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-02 06:28:53 +00:00
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:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user