Fixed bug where renaming a gate did create a duplicate gate on save.

This commit is contained in:
Tobias Ottenweller 2013-02-11 19:27:09 +01:00
parent dae92a0357
commit 749c04f585

View File

@ -181,7 +181,7 @@ public class Gate extends BaseGate implements ConfigurationSerializable
gate.setId(newId);
delete(oldId);
instances.remove(oldId);
instances.put(gate.id, gate);
}