remove update auction method

This commit is contained in:
Ryder Belserion 2024-10-13 17:06:01 -04:00
parent 578b8076c2
commit 78005a46c7
No known key found for this signature in database
4 changed files with 0 additions and 11 deletions

View File

@ -1,6 +1,5 @@
package com.badbones69.crazyauctions.api.guis.types; package com.badbones69.crazyauctions.api.guis.types;
import com.badbones69.crazyauctions.Methods;
import com.badbones69.crazyauctions.api.builders.ItemBuilder; import com.badbones69.crazyauctions.api.builders.ItemBuilder;
import com.badbones69.crazyauctions.api.enums.Category; import com.badbones69.crazyauctions.api.enums.Category;
import com.badbones69.crazyauctions.api.enums.ShopType; import com.badbones69.crazyauctions.api.enums.ShopType;
@ -37,8 +36,6 @@ public class CategoriesMenu extends Holder {
@Override @Override
public final Holder build() { public final Holder build() {
Methods.updateAuction();
this.options.addAll(List.of( this.options.addAll(List.of(
"OtherSettings.Back", "OtherSettings.Back",
"OtherSettings.WhatIsThis.Categories", "OtherSettings.WhatIsThis.Categories",

View File

@ -46,8 +46,6 @@ public class ExpiredMenu extends Holder {
@Override @Override
public final Holder build() { public final Holder build() {
Methods.updateAuction();
this.options.addAll(List.of( this.options.addAll(List.of(
"Back", "Back",
"PreviousPage", "PreviousPage",

View File

@ -14,7 +14,6 @@ import com.badbones69.crazyauctions.currency.VaultSupport;
import io.papermc.paper.persistence.PersistentDataContainerView; import io.papermc.paper.persistence.PersistentDataContainerView;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.NamespacedKey; import org.bukkit.NamespacedKey;
import org.bukkit.OfflinePlayer;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.inventory.InventoryClickEvent;
@ -46,8 +45,6 @@ public class BidMenu extends Holder {
@Override @Override
public final Holder build() { public final Holder build() {
Methods.updateAuction();
if (!this.data.contains("Items." + this.id)) { if (!this.data.contains("Items." + this.id)) {
GuiManager.openShop(this.player, ShopType.BID, HolderManager.getShopCategory(this.player), 1); GuiManager.openShop(this.player, ShopType.BID, HolderManager.getShopCategory(this.player), 1);

View File

@ -12,7 +12,6 @@ import com.badbones69.crazyauctions.api.guis.HolderManager;
import com.badbones69.crazyauctions.api.GuiManager; import com.badbones69.crazyauctions.api.GuiManager;
import com.badbones69.crazyauctions.currency.VaultSupport; import com.badbones69.crazyauctions.currency.VaultSupport;
import io.papermc.paper.persistence.PersistentDataContainerView; import io.papermc.paper.persistence.PersistentDataContainerView;
import org.bukkit.OfflinePlayer;
import org.bukkit.Sound; import org.bukkit.Sound;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -48,8 +47,6 @@ public class BuyingMenu extends Holder {
@Override @Override
public final Holder build() { public final Holder build() {
Methods.updateAuction();
if (!this.data.contains("Items." + this.id)) { if (!this.data.contains("Items." + this.id)) {
GuiManager.openShop(this.player, ShopType.SELL, HolderManager.getShopCategory(this.player), 1); GuiManager.openShop(this.player, ShopType.SELL, HolderManager.getShopCategory(this.player), 1);