From daf2314bacd10e50535fbff0ea49850071842fae Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Wed, 2 Sep 2020 02:15:38 -0700 Subject: [PATCH] Changed return type of StatList#clear to support chaining --- core/src/com/riiablo/attributes/StatList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/riiablo/attributes/StatList.java b/core/src/com/riiablo/attributes/StatList.java index e3481919..68778cf2 100644 --- a/core/src/com/riiablo/attributes/StatList.java +++ b/core/src/com/riiablo/attributes/StatList.java @@ -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() {