mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
1.4.4.7
Former-commit-id: dde82a51c56af4ccd4a2cfae242af1a4b3d3a5e5 [formerly 385f70d11889d975c4adc5df7de71ff66fe56771] Former-commit-id: bea4fbbc9618e48d22935c776231c500c25056c5
This commit is contained in:
1 parent
da482d7eb3
commit
ff3be1284a
3 files changed
+4
-5
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in new issue
Block a user