diff --git a/bukkit-loader/src/main/resources/translations/en.yml b/bukkit-loader/src/main/resources/translations/en.yml index ba6ea921f..6961f5aed 100644 --- a/bukkit-loader/src/main/resources/translations/en.yml +++ b/bukkit-loader/src/main/resources/translations/en.yml @@ -49,4 +49,5 @@ command.item.get.failure.not_exist: "':'':''>" command.item.give.success.multiple: "':'':''>" command.item.give.failure.not_exist: "'>" +command.item.recipe.browser.recipe.no_found: "No recipe found for this item" command.item.usage.browser.recipe.no_found: "No usage found for this item" \ No newline at end of file diff --git a/bukkit-loader/src/main/resources/translations/es.yml b/bukkit-loader/src/main/resources/translations/es.yml index 7c4d9cbe3..9897a5ae1 100644 --- a/bukkit-loader/src/main/resources/translations/es.yml +++ b/bukkit-loader/src/main/resources/translations/es.yml @@ -49,4 +49,5 @@ command.item.get.failure.not_exist: "':'':''>" command.item.give.success.multiple: "':'':''>" command.item.give.failure.not_exist: "'>" +command.item.recipe.browser.recipe.no_found: "No recipe found for this item" command.item.usage.browser.recipe.no_found: "No usage found for this item" \ No newline at end of file diff --git a/bukkit-loader/src/main/resources/translations/zh_cn.yml b/bukkit-loader/src/main/resources/translations/zh_cn.yml index 5af0fef1b..020a922e3 100644 --- a/bukkit-loader/src/main/resources/translations/zh_cn.yml +++ b/bukkit-loader/src/main/resources/translations/zh_cn.yml @@ -49,4 +49,5 @@ command.item.get.failure.not_exist: "':'':''>" command.item.give.success.multiple: "':'':''>" command.item.give.failure.not_exist: "'>" +command.item.recipe.browser.recipe.no_found: "找不到此物品的配方" command.item.usage.browser.recipe.no_found: "找不到此物品的用法" \ No newline at end of file diff --git a/bukkit-loader/src/main/resources/translations/zh_tw.yml b/bukkit-loader/src/main/resources/translations/zh_tw.yml index 26f5aec3b..ac1506a69 100644 --- a/bukkit-loader/src/main/resources/translations/zh_tw.yml +++ b/bukkit-loader/src/main/resources/translations/zh_tw.yml @@ -49,4 +49,5 @@ command.item.get.failure.not_exist: "':'':''>" command.item.give.success.multiple: "':'':''>" command.item.give.failure.not_exist: "'>" +command.item.recipe.browser.recipe.no_found: "找不到此物品的配方" command.item.usage.browser.recipe.no_found: "找不到此物品的用法" \ No newline at end of file diff --git a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/command/feature/ItemRecipeBrowserCommand.java b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/command/feature/ItemRecipeBrowserCommand.java index 3389898fe..d0dbd2a38 100644 --- a/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/command/feature/ItemRecipeBrowserCommand.java +++ b/bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/command/feature/ItemRecipeBrowserCommand.java @@ -5,6 +5,7 @@ import net.momirealms.craftengine.bukkit.plugin.user.BukkitServerPlayer; import net.momirealms.craftengine.core.item.recipe.Recipe; import net.momirealms.craftengine.core.plugin.CraftEngine; import net.momirealms.craftengine.core.plugin.command.CraftEngineCommandManager; +import net.momirealms.craftengine.core.plugin.locale.MessageConstants; import net.momirealms.craftengine.core.util.Key; import org.bukkit.NamespacedKey; import org.bukkit.command.CommandSender; @@ -46,7 +47,7 @@ public class ItemRecipeBrowserCommand extends BukkitCommandFeature