This commit is contained in:
Kiran Hart 2024-02-22 15:37:27 -05:00
parent 509a0cf458
commit 070a38e1e3
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
2 changed files with 4 additions and 4 deletions

View File

@ -8,14 +8,14 @@
<name>AuctionHouse</name>
<description>The ultimate auction solution for your server</description>
<version>2.107.0</version>
<version>2.107.1</version>
<packaging>jar</packaging>
<properties>
<author>Kiran Hart</author>
<jarName>${project.name}</jarName>
<main.class>${project.groupId}.${project.artifactId}.${project.name}</main.class>
<java.version>8</java.version>
<flight.version>3.17.0</flight.version>
<flight.version>3.18.0</flight.version>
<flight.path>ca.tweetzy</flight.path>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -102,7 +102,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<version>1.20.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -621,7 +621,7 @@ public class GUIAuctionHouse extends AbstractPlaceholderGui {
}
if (Settings.GUI_REFRESH_BTN_ENABLED.getBoolean()) {
setButton(Settings.GUI_REFRESH_BTN_SLOT.getInt(), getRefreshButtonItem(), e -> {
setButton(Settings.GUI_REFRESH_BTN_SLOT.getInt(), getRefreshButtonItem(), ClickType.LEFT, e -> {
if (Settings.USE_REFRESH_COOL_DOWN.getBoolean()) {
if (AuctionHouse.getInstance().getAuctionPlayerManager().getCooldowns().containsKey(this.auctionPlayer.getPlayer().getUniqueId())) {
if (AuctionHouse.getInstance().getAuctionPlayerManager().getCooldowns().get(this.auctionPlayer.getPlayer().getUniqueId()) > System.currentTimeMillis()) {