Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
balugaq committed Nov 21, 2024
1 parent 26ab9ae commit ca69bde
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ public static void worldeditBlockMenuSetSlot(Player player, int slot) {
count.addAndGet(1);
}));

player.sendMessage(String.format(Networks.getLocalizationService().getString("messages.commands.worldedit.set-slot-done"), slot, System.currentTimeMillis() - currentMillSeconds));
final String itemName = ItemStackHelper.getDisplayName(hand);
player.sendMessage(String.format(Networks.getLocalizationService().getString("messages.commands.worldedit.set-slot-done"), slot, itemName, System.currentTimeMillis() - currentMillSeconds));
}

public static void worldeditBlockInfoAdd(Player player, String key, String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ public ItemStack getItemStack(@Nonnull ItemRequest request) {
} else {
stackToReturn.setAmount(stackToReturn.getAmount() + take.getAmount());
}
request.receiveAmount(stackToReturn.getAmount());
request.receiveAmount(take.getAmount());

if (request.getAmount() <= 0) {
return stackToReturn;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lang/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -855,12 +855,12 @@ items:
- "<warning> 14) 此附属所有声明解释权归网络拓展开发者们所有。"
- "<passive> 声明到此结束。"
NTW_EXPANSION_SURVIVAL_GUIDE:
name: "网络拓展指南 (生存模式)"
name: "网络拓展指南 (生存模式) &c[已移植至JEG]"
lore:
- ""

NTW_EXPANSION_CREATIVE_GUIDE:
name: "网络拓展指南 (作弊模式)"
name: "网络拓展指南 (作弊模式) &c[已移植至JEG]"
lore:
- ""

Expand Down

0 comments on commit ca69bde

Please sign in to comment.