mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
JagString toString function, a few extra renames
This commit is contained in:
parent
0a6c38d78e
commit
08fa329cf9
7 changed files with 82 additions and 80 deletions
|
|
@ -6,6 +6,8 @@ import java.awt.Graphics;
|
|||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalClass;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
|
@ -498,8 +500,8 @@ public final class JagString implements StringInterface {
|
|||
|
||||
@OriginalMember(owner = "client!na", name = "toString", descriptor = "()Ljava/lang/String;")
|
||||
@Override
|
||||
public final String toString() {
|
||||
throw new RuntimeException();
|
||||
public String toString() {
|
||||
return new String(this.chars, 0, this.length, StandardCharsets.ISO_8859_1);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!na", name = "a", descriptor = "(ZLjava/applet/Applet;)V")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue