now it works

This commit is contained in:
bluepilledgreat 2024-10-20 19:16:42 +01:00
parent 6e043ed12b
commit 5fd389b9d0

View File

@ -328,7 +328,7 @@ namespace Bloxstrap.UI.Elements.Editor
private void OpenTypeValueAutoComplete(string typeName)
{
if (CustomBootstrapperSchema.Types.ContainsKey(typeName))
if (!CustomBootstrapperSchema.Types.ContainsKey(typeName))
throw new Exception($"Schema for type {typeName} is missing. Blame Matt!");
var typeValues = CustomBootstrapperSchema.Types[typeName].Values;