mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
🔢 fix for loop numbering
Took 1 minute
This commit is contained in:
parent
49bd7f6624
commit
c26c8a27dc
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user