From bf186c0aca0576c292ab88b8f2230a91a4bfc425 Mon Sep 17 00:00:00 2001 From: Krakenied Date: Sat, 21 Jan 2023 18:00:40 +0100 Subject: Additional material validation Closes https://github.com/LMBishop/Quests/issues/445, https://github.com/LMBishop/Quests/issues/349 --- .../quests/common/config/ConfigProblemDescriptions.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'common/src/main/java') diff --git a/common/src/main/java/com/leonardobishop/quests/common/config/ConfigProblemDescriptions.java b/common/src/main/java/com/leonardobishop/quests/common/config/ConfigProblemDescriptions.java index 2399b329..b16e2388 100644 --- a/common/src/main/java/com/leonardobishop/quests/common/config/ConfigProblemDescriptions.java +++ b/common/src/main/java/com/leonardobishop/quests/common/config/ConfigProblemDescriptions.java @@ -52,9 +52,11 @@ public enum ConfigProblemDescriptions { "by their ID. The ID does not include the .yml
" + "extension." ), - UNKNOWN_MATERIAL("Material '%s' does not exist", - "Material '%s' does not exist on the server.
" + - "Please refer to the wiki for a list of javadocs
" + + UNKNOWN_MATERIAL("Material '%s' does not exist or is unsuitable", + "Material '%s' does not exist on the server
" + + "or is unsuitable to the chosen task type. Ensure that
" + + "the material is the adequate one for the specified
" + + "item or block. Please refer to the wiki for a list of javadocs
" + "corresponding to your server version. Alternatively,
" + "you can find the material list by searching for your
" + "server version + 'Material ENUM'." -- cgit v1.2.3-70-g09d2