🔢 fix for loop numbering

Took 1 minute
This commit is contained in:
Kiran Hart 2024-04-18 14:14:18 -04:00
parent 49bd7f6624
commit c26c8a27dc
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
5 changed files with 4 additions and 52 deletions

View File

@ -78,53 +78,5 @@ public abstract class AbstractPlaceholderGui extends Gui {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CLOSE_BTN_ITEM.getString(), Settings.GUI_CLOSE_BTN_NAME.getString(), Settings.GUI_CLOSE_BTN_LORE.getStringList(), null);
}
protected ItemStack getIncreaseQtyButtonItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_INCREASE_QTY_ITEM.getString(), Settings.GUI_CONFIRM_INCREASE_QTY_NAME.getString(), Settings.GUI_CONFIRM_INCREASE_QTY_LORE.getStringList(), null);
}
protected ItemStack getDecreaseQtyButtonItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_DECREASE_QTY_ITEM.getString(), Settings.GUI_CONFIRM_DECREASE_QTY_NAME.getString(), Settings.GUI_CONFIRM_DECREASE_QTY_LORE.getStringList(), null);
}
// confirms
protected ItemStack getConfirmCancelYesItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_CANCEL_YES_ITEM.getString(), Settings.GUI_CONFIRM_CANCEL_YES_NAME.getString(), Settings.GUI_CONFIRM_CANCEL_YES_LORE.getStringList(), null);
}
protected ItemStack getConfirmCancelNoItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_CANCEL_NO_ITEM.getString(), Settings.GUI_CONFIRM_CANCEL_NO_NAME.getString(), Settings.GUI_CONFIRM_CANCEL_NO_LORE.getStringList(), null);
}
protected ItemStack getConfirmBuyYesItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_BUY_YES_ITEM.getString(), Settings.GUI_CONFIRM_BUY_YES_NAME.getString(), Settings.GUI_CONFIRM_BUY_YES_LORE.getStringList(), null);
}
protected ItemStack getConfirmBuyNoItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_BUY_NO_ITEM.getString(), Settings.GUI_CONFIRM_BUY_NO_NAME.getString(), Settings.GUI_CONFIRM_BUY_NO_LORE.getStringList(), null);
}
protected ItemStack getConfirmRequestYesItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_REQUEST_YES_ITEM.getString(), Settings.GUI_CONFIRM_REQUEST_YES_NAME.getString(), Settings.GUI_CONFIRM_REQUEST_YES_LORE.getStringList(), null);
}
protected ItemStack getConfirmRequestNoItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_REQUEST_NO_ITEM.getString(), Settings.GUI_CONFIRM_REQUEST_NO_NAME.getString(), Settings.GUI_CONFIRM_REQUEST_NO_LORE.getStringList(), null);
}
protected ItemStack getConfirmListingYesItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_LISTING_YES_ITEM.getString(), Settings.GUI_CONFIRM_LISTING_YES_NAME.getString(), Settings.GUI_CONFIRM_LISTING_YES_LORE.getStringList(), null);
}
protected ItemStack getConfirmListingNoItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_LISTING_NO_ITEM.getString(), Settings.GUI_CONFIRM_LISTING_NO_NAME.getString(), Settings.GUI_CONFIRM_LISTING_NO_LORE.getStringList(), null);
}
protected ItemStack getConfirmBidYesItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_BID_YES_ITEM.getString(), Settings.GUI_CONFIRM_BID_YES_NAME.getString(), Settings.GUI_CONFIRM_BID_YES_LORE.getStringList(), null);
}
protected ItemStack getConfirmBidNoItem() {
return ConfigurationItemHelper.createConfigurationItem(this.player, Settings.GUI_CONFIRM_BID_NO_ITEM.getString(), Settings.GUI_CONFIRM_BID_NO_NAME.getString(), Settings.GUI_CONFIRM_BID_NO_LORE.getStringList(), null);
}
}

View File

@ -84,7 +84,7 @@ public abstract class AuctionUpdatingPagedGUI<T> extends BaseGUI {
protected void cancelTask() {
if (this.task != null) {
this.task.cancel();
Common.log("Cancelled updating task in menu");
Bukkit.getServer().getConsoleSender().sendMessage("Cancelled updating task in menu");
}
}

View File

@ -73,7 +73,7 @@ public class GUIConfirmBid extends AuctionUpdatingPagedGUI<AuctionedItem> {
for (int i = 0; i < 4; i++)
drawYes(i);
for (int i = 5; i < 8; i++)
for (int i = 5; i < 9; i++)
drawNo(i);
}

View File

@ -60,7 +60,7 @@ public class GUIConfirmCancel extends AuctionBaseGUI {
setItem(0, 4, this.auctionItem.getDisplayStack(AuctionStackType.ACTIVE_AUCTIONS_LIST));
for (int i = 5; i < 8; i++)
for (int i = 5; i < 9; i++)
drawNo(i);
}

View File

@ -90,7 +90,7 @@ public final class GUIListingConfirm extends AuctionBaseGUI {
setItem(0, 4, this.auctionedItem.getDisplayStack(AuctionStackType.LISTING_PREVIEW));
for (int i = 5; i < 8; i++)
for (int i = 5; i < 9; i++)
drawNo(i);
}