mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 16:49:10 +00:00
[CLEANUP] Proper format
This commit is contained in:
@@ -21,6 +21,7 @@ public class ClassRedirect {
|
|||||||
if (validStack()) {
|
if (validStack()) {
|
||||||
return c.getDeclaredField(s);
|
return c.getDeclaredField(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
System.out.println(c.getName() + "." + c.getDeclaredField(s) + " Blocked.");
|
System.out.println(c.getName() + "." + c.getDeclaredField(s) + " Blocked.");
|
||||||
throw RedirectClassAdapter.createSecurityException();
|
throw RedirectClassAdapter.createSecurityException();
|
||||||
}
|
}
|
||||||
@@ -29,6 +30,7 @@ public class ClassRedirect {
|
|||||||
if (validStack()) {
|
if (validStack()) {
|
||||||
return c.getDeclaredMethod(name, params);
|
return c.getDeclaredMethod(name, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
System.out.println(c.getName() + "#" + c.getDeclaredMethod(name, params) + " Blocked.");
|
System.out.println(c.getName() + "#" + c.getDeclaredMethod(name, params) + " Blocked.");
|
||||||
throw RedirectClassAdapter.createSecurityException();
|
throw RedirectClassAdapter.createSecurityException();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user