Skip to content

Commit 408a478

Browse files
authored
Fix example TradeTags in meta (#2705)
1 parent dc0e487 commit 408a478

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugin/src/main/java/com/denizenscript/denizen/objects/TradeTag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public class TradeTag implements ObjectTag, Adjustable {
4141
// For example, the following command opens a virtual merchant inventory with two merchant trades.
4242
// The first trade offers a sponge for two emeralds, can be used up to 10 times,
4343
// and offers XP upon a successful transaction.
44-
// The second trade has zero maximum uses and displays a barrier.
44+
// The second trade has zero maximum uses and displays a barrier in the input and output slots.
4545
// <code>
46-
// - opentrades trade[max_uses=10;inputs=emerald[quantity=2];result=sponge]|trade[result=barrier]
46+
// - opentrades trade[max_uses=10;inputs=emerald[quantity=2];result=sponge]|trade[inputs=barrier;result=barrier]
4747
// </code>
4848
//
4949
// -->

plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/OpenTradesCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public OpenTradesCommand() {
5555
//
5656
// @Usage
5757
// Use to open a list of trades with an optional title.
58-
// - opentrades trade[result=stone;inputs=stone;max_uses=9999]|trade[result=barrier] "title:Useless Trades"
58+
// - opentrades trade[result=stone;inputs=stone;max_uses=9999]|trade[inputs=barrier;result=barrier] "title:Useless Trades"
5959
//
6060
// @Usage
6161
// Use to force a player to trade with a villager.

0 commit comments

Comments
 (0)