From e31b6c0be46c28aa6f19f1904b19bb7473386d10 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 16 Aug 2012 09:11:04 -0700 Subject: [PATCH] Allow white space in the property name. --- common/net/minecraftforge/common/Property.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/net/minecraftforge/common/Property.java b/common/net/minecraftforge/common/Property.java index 745ad6a0d3..b5d00431ee 100644 --- a/common/net/minecraftforge/common/Property.java +++ b/common/net/minecraftforge/common/Property.java @@ -97,7 +97,7 @@ public class Property { for (char c : name.toCharArray()) { - if (!Character.isLetterOrDigit(c) && Configuration.ALLOWED_CHARS.indexOf(c) == -1) + if (!Character.isLetterOrDigit(c) && Configuration.ALLOWED_CHARS.indexOf(c) == -1 && !Character.isWhitespace(c)) { throw new IllegalArgumentException("Invalid property name: \"" + name + "\""); }