Check for case insensitivity while loading gates from disk.
This commit is contained in:
1 parent
9ec2b91181
commit
e8f23078f1
1 file changed
+1
-1
@@ -257,7 +257,7 @@ public class Gate implements ConfigurationSerializable
|
||||
public Gate(Map<String, Object> map)
|
||||
{
|
||||
try {
|
||||
id = map.get(idKey).toString();
|
||||
id = map.get(idKey).toString().toLowerCase();
|
||||
|
||||
if (id == null) {
|
||||
throw new Exception("gates need to have an id");
|
||||
|
||||
Reference in new issue
Block a user