rs-client: refactoring (#1344)
* Rename some things to be more consistent everywhere * rs-client: refactoring * MenuAction -> MenuOpcode merge
This commit is contained in:
@@ -22,11 +22,12 @@ public class Link {
|
||||
@ObfuscatedName("q")
|
||||
@Export("remove")
|
||||
public void remove() {
|
||||
if (this.next != null) {
|
||||
this.next.previous = this.previous;
|
||||
this.previous.next = this.next;
|
||||
this.previous = null;
|
||||
this.next = null;
|
||||
if (this.next == null) {
|
||||
return;
|
||||
}
|
||||
this.next.previous = this.previous;
|
||||
this.previous.next = this.next;
|
||||
this.previous = null;
|
||||
this.next = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user