mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Merge pull request #300 from Parabot/bugfix/validity-check
[BUGFIX] Set to correct check
This commit is contained in:
@@ -223,6 +223,6 @@ public class ClassRedirect {
|
||||
|
||||
private static boolean validRequest(Class c) {
|
||||
Core.verbose("Got request for class: " + c.getName());
|
||||
return c.getName().toLowerCase().contains("parabot");
|
||||
return !c.getName().toLowerCase().contains("parabot");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user