Skip to content

Commit

Permalink
embarrassing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kokaiinum committed Jan 26, 2022
1 parent cf36d06 commit 738632e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PluginCode/KK_MobReplacer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void Start() {
private void IterateFields() {// SHOOT ME NOW
foreach (FieldInfo field in fields) {
var cE = (ConfigEntry<string>)(field.GetValue(this));
if (cE?.Value != null && cE.Value.IsNullOrWhiteSpace()) {
if (cE?.Value != null && !cE.Value.IsNullOrWhiteSpace()) {
if (!replacementMap.ContainsKey(field.Name)) {
replacementMap.Add(field.Name, cE.Value);
}
Expand Down

0 comments on commit 738632e

Please sign in to comment.