a little bit of clean up

This commit is contained in:
Ryder Belserion 2024-10-10 14:26:29 -04:00
parent 6e494e04c6
commit 30ada8a071
No known key found for this signature in database
3 changed files with 4 additions and 6 deletions

View File

@ -15,8 +15,8 @@ subprojects {
apply(plugin = "maven-publish") apply(plugin = "maven-publish")
apply(plugin = "java-library") apply(plugin = "java-library")
group = "com.badbones69.crazycrates" group = "com.badbones69.crazyauctions"
description = "Create unlimited crates with multiple crate types to choose from!" description = "Auction off items in style."
repositories { repositories {
maven("https://repo.codemc.io/repository/maven-public") maven("https://repo.codemc.io/repository/maven-public")

View File

@ -2,9 +2,7 @@ org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false org.gradle.daemon = false
org.gradle.parallel = false org.gradle.parallel = false
group = com.badbones69.crazyauctions
authors = ["Ryderbelserion, Badbones69"] authors = ["Ryderbelserion, Badbones69"]
description = Auction off items in style.
website = https://modrinth.com/plugin/crazyauctions website = https://modrinth.com/plugin/crazyauctions
sources = https://github.com/Crazy-Crew/CrazyAuctions sources = https://github.com/Crazy-Crew/CrazyAuctions
issues = https://github.com/Crazy-Crew/CrazyAuctions/issues issues = https://github.com/Crazy-Crew/CrazyAuctions/issues

View File

@ -58,9 +58,9 @@ public class AuctionCommand implements CommandExecutor {
} }
} }
if (crazyManager.isSellingEnabled()) { if (this.crazyManager.isSellingEnabled()) {
new AuctionsMenu(player, ShopType.SELL, Category.NONE, config.getString("Settings.GUIName", "N/A"), 54, 1).build(); new AuctionsMenu(player, ShopType.SELL, Category.NONE, config.getString("Settings.GUIName", "N/A"), 54, 1).build();
} else if (crazyManager.isBiddingEnabled()) { } else if (this.crazyManager.isBiddingEnabled()) {
new AuctionsMenu(player, ShopType.BID, Category.NONE, config.getString("Settings.GUIName", "N/A"), 54, 1).build(); new AuctionsMenu(player, ShopType.BID, Category.NONE, config.getString("Settings.GUIName", "N/A"), 54, 1).build();
} else { } else {
player.sendMessage(Methods.getPrefix() + Methods.color("&cThe bidding and selling options are both disabled. Please contact the admin about this.")); player.sendMessage(Methods.getPrefix() + Methods.color("&cThe bidding and selling options are both disabled. Please contact the admin about this."));