Check for case insensitivity while loading gates from disk.

This commit is contained in:
Tobias Ottenweller 2013-07-04 10:08:59 +02:00
parent 9ec2b91181
commit e8f23078f1

View File

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