2.18.2 - fixed minor sell gui bug

This commit is contained in:
Kiran Hart 2021-06-30 15:11:15 -04:00
parent 9b5a62b7d5
commit efaf934499
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ca.tweetzy</groupId>
<artifactId>auctionhouse</artifactId>
<version>2.18.1</version>
<version>2.18.2</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -146,6 +146,10 @@ public class GUISellItem extends Gui {
}
setButton(3, 5, ConfigurationItemHelper.createConfigurationItem(this.isBiddingItem ? Settings.GUI_SELL_ITEMS_BIDDING_ENABLED_ITEM.getString() : Settings.GUI_SELL_ITEMS_BIDDING_DISABLED_ITEM.getString(), this.isBiddingItem ? Settings.GUI_SELL_ITEMS_BIDDING_ENABLED_NAME.getString() : Settings.GUI_SELL_ITEMS_BIDDING_DISABLED_NAME.getString(), this.isBiddingItem ? Settings.GUI_SELL_ITEMS_BIDDING_ENABLED_LORE.getStringList() : Settings.GUI_SELL_ITEMS_BIDDING_DISABLED_LORE.getStringList(), null), e -> {
if (!Settings.ALLOW_USAGE_OF_BID_SYSTEM.getBoolean()) {
return;
}
this.isBiddingItem = !this.isBiddingItem;
setTheItemToBeListed();
draw();