Fix PlaceholderAPI#containsBracketPlaceholders variable name

This commit is contained in:
iChocoMilk
2026-02-04 01:50:19 -03:00
committed by GitHub
parent 9a4fa18304
commit 0f35362a0c

View File

@@ -308,11 +308,11 @@ public final class PlaceholderAPI {
if (text == null) { if (text == null) {
return false; return false;
} }
final int firstPercent = text.indexOf('{'); final int openBracket = text.indexOf('{');
if (firstPercent == -1) { if (openBracket == -1) {
return false; return false;
} }
return text.indexOf('}', firstPercent + 1) != -1; return text.indexOf('}', openBracket + 1) != -1;
} }
// === Deprecated API === // === Deprecated API ===