Skip to content

Commit f75ba81

Browse files
committed
Fix build
1 parent 9f4a2ba commit f75ba81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SuperCreate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void onCommand(@NotNull Player sender, @NotNull String commandLabel, @Not
6666
final JavaInfo info = new JavaInfo(b.getLocation(), ShopAction.CREATE, sender.getInventory().getItemInMainHand(), b.getRelative(sender.getFacing().getOppositeFace()));
6767

6868
plugin.getShopManager().getActions().put(sender.getUniqueId(), info);
69-
plugin.text().of(sender, "how-much-to-trade-for", MsgUtil.convertItemStackToTranslateText(shop.getItem().getType()), Integer.toString(plugin.isAllowStack() && QuickShop.getPermissionManager().hasPermission(sender, "quickshop.create.stacks") ? item.getAmount() : 1)).send();
69+
plugin.text().of(sender, "how-much-to-trade-for", MsgUtil.convertItemStackToTranslateText(info.getItem().getType()), Integer.toString(plugin.isAllowStack() && QuickShop.getPermissionManager().hasPermission(sender, "quickshop.create.stacks") ? item.getAmount() : 1)).send();
7070
return;
7171
}
7272
plugin.text().of(sender, "not-looking-at-shop").send();

0 commit comments

Comments
 (0)