From 80c0aaecaba9bd15a142eba25754c93770c5d330 Mon Sep 17 00:00:00 2001 From: ybw0014 Date: Sat, 16 Sep 2023 14:22:30 -0400 Subject: [PATCH] fix(ChunkContent): use get default --- .../java/dev/j3fftw/headlimiter/blocklimiter/ChunkContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/j3fftw/headlimiter/blocklimiter/ChunkContent.java b/src/main/java/dev/j3fftw/headlimiter/blocklimiter/ChunkContent.java index 30adb45..6dec65d 100644 --- a/src/main/java/dev/j3fftw/headlimiter/blocklimiter/ChunkContent.java +++ b/src/main/java/dev/j3fftw/headlimiter/blocklimiter/ChunkContent.java @@ -31,7 +31,7 @@ public int getGroupTotal(@Nonnull String itemId) { if (group.contains(itemId)) { int amount = 0; for (String item : group.getItems()) { - amount += this.contentMap.get(item); + amount += getCurrentAmount(item); } return amount; }