From e6f4a8b22259d7ba3191f25afcb8d80b5c7851a4 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Wed, 2 Sep 2020 18:19:22 -0700 Subject: [PATCH] Changed to skip bits only (bytes included) --- core/test/com/riiablo/attributes/StatListReaderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test/com/riiablo/attributes/StatListReaderTest.java b/core/test/com/riiablo/attributes/StatListReaderTest.java index 13ffce8e..b57517d2 100644 --- a/core/test/com/riiablo/attributes/StatListReaderTest.java +++ b/core/test/com/riiablo/attributes/StatListReaderTest.java @@ -86,7 +86,7 @@ public class StatListReaderTest { (byte) 0x03, (byte) 0x02 }; - final BitInput bits = ByteInput.wrap(bytes).skipBytes(24).unalign().skipBits(5); + final BitInput bits = ByteInput.wrap(bytes).unalign().skipBits(197); final Attributes attrs = Attributes.aggregateAttributes(); final StatListReader reader = new StatListReader(); final StatListGetter stats = reader.read(attrs.base().buildList(), bits);