Skip to content

Commit 8ffd1f7

Browse files
committed
refactor: rename method24 -> close
1 parent c7665f1 commit 8ffd1f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/runejs/client/Game.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2170,7 +2170,7 @@ public void connectUpdateServer() {
21702170
}
21712171
}
21722172

2173-
public void method24() {
2173+
public void close() {
21742174
if (mouseCapturer != null)
21752175
mouseCapturer.aBoolean913 = false;
21762176
mouseCapturer = null;

src/main/java/org/runejs/client/GameShell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public synchronized void closeGameShell() {
9999
/* empty */
100100
}
101101
try {
102-
method24();
102+
close();
103103
} catch (Exception exception) {
104104
/* empty */
105105
}
@@ -166,7 +166,7 @@ public void focusLost(FocusEvent arg0) {
166166
clientFocused = false;
167167
}
168168

169-
public abstract void method24();
169+
public abstract void close();
170170

171171
public synchronized void paint(Graphics arg0) {
172172
if (this == currentGameShell && !PacketBuffer.closedClient) {

0 commit comments

Comments
 (0)