Fix Illogical Bug

This commit is contained in:
RayzsYT committed 2024-06-10 04:22:02 +02:00
1 parent 45a6bb1577
commit e948deba9a
1 file changed
+2 -1
@@ -148,7 +148,7 @@ public class Storage {
public static String findAndReplace(String request) {
String result = null, param = "";
if(!USE_PLACEHOLDERAPI)
if(USE_PLACEHOLDERAPI)
for (PlaceholderStorage storage : PLACEHOLDERS) {
if(!storage.getRequest().startsWith(request)) continue;
@@ -157,6 +157,7 @@ public class Storage {
result = storage.onRequest(param);
if(result == null) continue;
else result = result.replace("\\n", "\n");
break;
}