This commit is contained in:
filoghost 2014-12-11 17:15:29 +01:00
parent 6e9bb32480
commit 22d73fa74d
2 changed files with 4 additions and 2 deletions

View File

@ -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<String, String> placeholders = Utils.newHashMap();

View File

@ -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;