From e8f23078f14e52b3b5d303103c665a75e3f0c0ce Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Thu, 4 Jul 2013 10:08:59 +0200 Subject: [PATCH] Check for case insensitivity while loading gates from disk. --- src/de/craftinc/gates/Gate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/craftinc/gates/Gate.java b/src/de/craftinc/gates/Gate.java index b658490..c3c9474 100644 --- a/src/de/craftinc/gates/Gate.java +++ b/src/de/craftinc/gates/Gate.java @@ -257,7 +257,7 @@ public class Gate implements ConfigurationSerializable public Gate(Map 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");