From eccd0f506a8bc839ad589341dc0df8e6a953d02f Mon Sep 17 00:00:00 2001 From: Zrips Date: Tue, 29 Oct 2019 16:05:04 +0200 Subject: [PATCH] Extra information when material is not a desired block --- src/main/java/com/gamingmesh/jobs/config/ConfigManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index 2a173983..1c5bf53f 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -258,7 +258,7 @@ public class ConfigManager { if (actionType == ActionType.BREAK || actionType == ActionType.PLACE || actionType == ActionType.STRIPLOGS) { if (!material.isBlock()) { Jobs.getPluginLogger().warning("Job " + jobName + " has an invalid " + actionType.getName() + " type property: " + material - + "(" + myKey + ")! Material must be a block!"); + + "(" + myKey + ")! Material must be a block! Use \"/jobs blockinfo\" on a target block"); return null; } } @@ -1044,7 +1044,7 @@ public class ConfigManager { if (actionType == ActionType.BREAK || actionType == ActionType.PLACE || actionType == ActionType.STRIPLOGS) { if (!material.isBlock()) { Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + material - + " (" + key + ")! Material must be a block!"); + + " (" + key + ")! Material must be a block! Use \"/jobs blockinfo\" on a target block"); continue; } }