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