mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-08-01 15:39:49 +07:00
Changed return type of StatList#clear to support chaining
This commit is contained in:
@ -73,11 +73,12 @@ public final class StatList {
|
||||
return this;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
public StatList clear() {
|
||||
assertMutable();
|
||||
size = 0;
|
||||
tail = 0;
|
||||
numLists = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
public int size() {
|
||||
|
Reference in New Issue
Block a user