From 41275509b27053e5662754d424a0a127cace39b0 Mon Sep 17 00:00:00 2001 From: Andre601 <11576465+Andre601@users.noreply.github.com> Date: Tue, 13 Apr 2021 17:58:42 +0200 Subject: [PATCH] Undo renaming of boolean --- .../java/me/clip/placeholderapi/replacer/CharsReplacer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java index 702e173..0b3bb0c 100644 --- a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java +++ b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java @@ -99,7 +99,7 @@ public final class CharsReplacer implements Replacer { } boolean identified = false; - boolean invalid = true; + boolean oopsitsbad = true; boolean hadSpace = false; while (++i < chars.length) { @@ -110,7 +110,7 @@ public final class CharsReplacer implements Replacer { break; } if (p == closure.tail) { - invalid = false; + oopsitsbad = false; break; } @@ -132,7 +132,7 @@ public final class CharsReplacer implements Replacer { identifier.setLength(0); parameters.setLength(0); - if (invalid) { + if (oopsitsbad) { builder.append(closure.head).append(identifierString); if (identified) {