Fixed bug where renaming a gate did create a duplicate gate on save.
This commit is contained in:
parent
dae92a0357
commit
749c04f585
@ -181,7 +181,7 @@ public class Gate extends BaseGate implements ConfigurationSerializable
|
|||||||
|
|
||||||
gate.setId(newId);
|
gate.setId(newId);
|
||||||
|
|
||||||
delete(oldId);
|
instances.remove(oldId);
|
||||||
instances.put(gate.id, gate);
|
instances.put(gate.id, gate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user