From ff3be1284a1f4ed4ebcfca8853ba56df8302407b Mon Sep 17 00:00:00 2001
From: Ghost_chu <2908803755@qq.com>
Date: Tue, 4 Jun 2019 00:48:56 +0800
Subject: [PATCH] 1.4.4.7
Former-commit-id: dde82a51c56af4ccd4a2cfae242af1a4b3d3a5e5 [formerly 385f70d11889d975c4adc5df7de71ff66fe56771]
Former-commit-id: bea4fbbc9618e48d22935c776231c500c25056c5
---
pom.xml | 2 +-
src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java | 3 +--
.../java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java | 4 ++--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 3d5164418..f62358aab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.maxgamer
QuickShop
- Reremake 1.4.4.6
+ Reremake 1.4.4.7
diff --git a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java
index e0045b5ff..da969b164 100644
--- a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java
+++ b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java
@@ -6,7 +6,6 @@ import org.bukkit.Location;
import org.bukkit.entity.Item;
import org.bukkit.inventory.ItemStack;
import org.maxgamer.quickshop.QuickShop;
-import org.maxgamer.quickshop.Util.Util;
public interface DisplayItem {
public abstract void spawn();
@@ -35,7 +34,7 @@ public interface DisplayItem {
// + " is not on the correct location and has been removed. Probably someone is trying to cheat.");
// }
// }
- Util.sendMessageToOps("[QuickShop] Display item for " + shop + " is not on the correct location and has been removed. Probably someone is trying to cheat.");
+ //Util.sendMessageToOps("[QuickShop] Display item for " + shop + " is not on the correct location and has been removed. Probably someone is trying to cheat.");
QuickShop.instance.getQueuedShopManager().add(new QueueShopObject(shop, QueueAction.REMOVEDISPLAYITEM));
}
}
diff --git a/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java b/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java
index b555e9700..04a32028e 100644
--- a/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java
+++ b/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java
@@ -50,7 +50,7 @@ public class UpdateWatcher implements Listener {
Random random = new Random();
int notifyNum = random.nextInt(notifys.size());
String notify = notifys.get(notifyNum);
- notify = MsgUtil.fillArgs(notify, fixVer(info.getVersion()), fixVer(QuickShop.getVersion()));
+ notify = MsgUtil.fillArgs(notify, info.getVersion(), QuickShop.getVersion());
TextComponent message = new TextComponent(ChatColor.AQUA + MsgUtil
.getMessage("updatenotify.buttontitle"));
message.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://www.spigotmc.org/resources/62575/"));
@@ -89,7 +89,7 @@ public class UpdateWatcher implements Listener {
Random random = new Random();
int notifyNum = random.nextInt(notifys.size());
String notify = notifys.get(notifyNum);
- notify = MsgUtil.fillArgs(notify, fixVer(info.getVersion()), fixVer(QuickShop.getVersion()));
+ notify = MsgUtil.fillArgs(notify, info.getVersion(), QuickShop.getVersion());
TextComponent message = new TextComponent(ChatColor.AQUA + MsgUtil
.getMessage("updatenotify.buttontitle"));