mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Bug fixes - Click preview doesn't work
Former-commit-id: 80c8089a38d01a15fad7c423e883e41cb1993e72
This commit is contained in:
1 parent
77c2b166cc
commit
ea4d9b6dbe
1 file changed
+1
-1
@@ -1041,7 +1041,7 @@ public class MsgUtil {
|
||||
@NotNull String normalText) {
|
||||
TextComponent component = getItemTextComponent(itemStack, player, normalText);
|
||||
if (QuickShop.getPermissionManager().hasPermission(player, "quickshop.preview")) {
|
||||
component.clickEvent(ClickEvent.clickEvent(ClickEvent.Action.RUN_COMMAND, MsgUtil.fillArgs(
|
||||
component = component.clickEvent(ClickEvent.runCommand(MsgUtil.fillArgs(
|
||||
"/qs silentpreview {0}",
|
||||
shop.getRuntimeRandomUniqueId().toString())));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user