Skip to content

Commit

Permalink
Replace itemnbt with blank
Browse files Browse the repository at this point in the history
  • Loading branch information
elian1203 committed Oct 9, 2023
1 parent 93bdc13 commit 9440c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ private String replaceAuctionPatterns(String raw, AuctionData data) {
replaced = replaced.replace("<itemamount>", Integer.toString(data.getAmount()));
replaced = replaced.replace("<minecraftname>", data.getMinecraftName());
replaced = replaced.replace("<customname>", data.getCustomName());
replaced = replaced.replace("<itemnbt>", data.getItemNbt());
replaced = replaced.replace("<itemnbt>", "");
return replaced;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ command.auction.queue.list={prefix} <blue>Auction Queue:
command.auction.queue.empty=<aqua>No auctions in the queue!
# the same values that are in the auction paramater block are available here
# <position> is the position in the queue
command.auction.queue.item=<aqua><position>. <green><itemamount> <aqua><hover:show_item:<materialtype>:<itemamount>:"<itemnbt>"><hascustomname><i><customname></i></hascustomname><nocustomname><lang:<minecraftname>></nocustomname><skull> <green>(Head of <white><skullowner></white>)<green></skull></hover> <blue>starting at <gold><startingprice> <blue>by <yellow><hover:show_entity:player:"<auctioneeruuid>"><auctioneer></hover>
command.auction.queue.item=<aqua><position>. <green><itemamount> <aqua><hover:show_item:<materialtype>:<itemamount>:""><hascustomname><i><customname></i></hascustomname><nocustomname><lang:<minecraftname>></nocustomname><skull> <green>(Head of <white><skullowner></white>)<green></skull></hover> <blue>starting at <gold><startingprice> <blue>by <yellow><hover:show_entity:player:"<auctioneeruuid>"><auctioneer></hover>

command.auction.end.help=<hover:show_text:"/auction end"><click:suggest_command:"/auction end"><aqua>/auction end <dark_blue>: <blue>Forcefully end the current auction.</click></hover>
command.auction.end.attempt-others={prefix}<dark_red>You do not have permission to end other players' auctions!
Expand Down

0 comments on commit 9440c9d

Please sign in to comment.