diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java index cc4ce88..c6a808d 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java @@ -12,7 +12,9 @@ import com.gmail.filoghost.chestcommands.ChestCommands; import com.gmail.filoghost.chestcommands.util.ErrorLogger; import com.gmail.filoghost.chestcommands.util.Utils; -// This is not a real YAML file ;) +/** + * This is not a real YAML file ;) + */ public class AsciiPlaceholders { private static Map placeholders = Utils.newHashMap(); diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java index c69a2a1..0ed3679 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java @@ -38,7 +38,7 @@ public class RequiredItem { } public void setRestrictiveDataValue(short data) { - Validate.isTrue(data >= 0, "Data value cannot be lower than 0"); + Validate.isTrue(data >= 0, "Data value cannot be negative"); this.dataValue = data; isDurabilityRestrictive = true;