mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-28 05:45:15 -06:00
Replaced getDeclaredConstructor with constructors
This commit is contained in:
parent
fd3572f709
commit
37883b9f35
7 changed files with 7 additions and 19 deletions
|
|
@ -12,7 +12,7 @@ public abstract class MouseWheel {
|
|||
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(B)Lclient!uc;")
|
||||
public static MouseWheel create() {
|
||||
try {
|
||||
return (MouseWheel) Class.forName("rt4.JavaMouseWheel").getDeclaredConstructor().newInstance();
|
||||
return new JavaMouseWheel();
|
||||
} catch (@Pc(15) Throwable local15) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue