mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 17:19:05 +00:00
Reformat Code
This commit is contained in:
1 parent
21e920426e
commit
1de1c4e710
169 files changed
+3967
-1556
No files matched your search
@@ -7,7 +7,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
/**
|
||||
* Client-side cache for auction configuration synced from server.
|
||||
* Prevents client from using local ConfigMarket which may differ from server settings.
|
||||
*
|
||||
* <p>
|
||||
* IMPORTANT: This class is CLIENT-ONLY. Server-side NBT writing is done in
|
||||
* AuctionConfigSync to avoid @SideOnly crashes on dedicated servers.
|
||||
*/
|
||||
@@ -56,11 +56,31 @@ public class AuctionClientConfig {
|
||||
}
|
||||
|
||||
// Getters
|
||||
public static boolean isAuctionEnabled() { return auctionEnabled; }
|
||||
public static long getListingFee() { return listingFee; }
|
||||
public static String getCurrencyName() { return currencyName; }
|
||||
public static int getAuctionDurationHours() { return auctionDurationHours; }
|
||||
public static double getMinBidIncrement() { return minBidIncrement; }
|
||||
public static int getMaxActiveListings() { return maxActiveListings; }
|
||||
public static int getClaimExpirationDays() { return claimExpirationDays; }
|
||||
public static boolean isAuctionEnabled() {
|
||||
return auctionEnabled;
|
||||
}
|
||||
|
||||
public static long getListingFee() {
|
||||
return listingFee;
|
||||
}
|
||||
|
||||
public static String getCurrencyName() {
|
||||
return currencyName;
|
||||
}
|
||||
|
||||
public static int getAuctionDurationHours() {
|
||||
return auctionDurationHours;
|
||||
}
|
||||
|
||||
public static double getMinBidIncrement() {
|
||||
return minBidIncrement;
|
||||
}
|
||||
|
||||
public static int getMaxActiveListings() {
|
||||
return maxActiveListings;
|
||||
}
|
||||
|
||||
public static int getClaimExpirationDays() {
|
||||
return claimExpirationDays;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user