project wide refactor(import cleanup & code format), close #14 (see previous commit)

Took 1 minute
This commit is contained in:
Kiran Hart 2022-10-18 19:08:35 -04:00
parent d4a4cd5f5d
commit 73596a49c4
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
10 changed files with 88 additions and 86 deletions

View File

@ -11,6 +11,7 @@ assignees: ''
Describe the bug in as much detail as possible, the more detailed, the chances of it being fixed is faster
**To Reproduce**
- Describe how to reproduce this bug: EX.
1. Open the main menu
@ -24,6 +25,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
**Server Information (please complete the following information):**
- Provide the server version
- Provide the server jar (ex. paper/spigot)
- Plugin Version

View File

@ -11,5 +11,6 @@ assignees: ''
Describe how this feature will work
**Additional Information**
- You can provide image links
- You can provide video links

View File

@ -10,7 +10,6 @@ public enum AuctionStackType {
MAIN_AUCTION_HOUSE,
ACTIVE_AUCTIONS_LIST,
LISTING_PREVIEW
;
LISTING_PREVIEW;
}

View File

@ -146,7 +146,8 @@ public class CommandAdmin extends AbstractCommand {
protected List<String> onTab(CommandSender sender, String... args) {
if (args.length == 1) return Arrays.asList("endall", "relistall", "logs", "viewexpired", "open");
if (args.length == 2 && args[0].equalsIgnoreCase("relistAll")) return Arrays.asList("1", "2", "3", "4", "5");
if (args.length == 2 && (args[0].equalsIgnoreCase("viewexpired") || args[0].equalsIgnoreCase("open"))) return Bukkit.getOnlinePlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList());
if (args.length == 2 && (args[0].equalsIgnoreCase("viewexpired") || args[0].equalsIgnoreCase("open")))
return Bukkit.getOnlinePlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList());
return null;
}

View File

@ -932,7 +932,6 @@ public class Settings {
public static final ConfigSetting GUI_STATS_SEARCH_ITEMS_MONEY_SPENT_LORE = new ConfigSetting(config, "gui.stat view other.items.money spent.lore", Collections.singletonList("&7They spent &c$%money_spent%"));
/* ===============================
* EXPIRED ITEMS ADMIN GUI
* ===============================*/