mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Encapsulate some more variables
Refactor Settings class a bit and move header straight to the file
This commit is contained in:
30 files changed
+248
-255
No files matched your search
@@ -21,7 +21,7 @@ public class WarpCommand extends CommandBase {
|
||||
|
||||
@Override
|
||||
protected boolean onCommand(Player p, Command command, String label, String[] args) {
|
||||
if (HuskHomes.settings.doWarpCommand()) {
|
||||
if (HuskHomes.getSettings().doWarpCommand()) {
|
||||
if (args.length == 1) {
|
||||
String warpName = args[0];
|
||||
if (DataManager.warpExists(warpName)) {
|
||||
|
||||
Reference in new issue
Block a user