From e557710fce2673b186fb629e80a4be7f0362f51d Mon Sep 17 00:00:00 2001 From: repo-alt Date: Thu, 7 Jul 2022 16:11:13 +0300 Subject: [PATCH] Yet another int overflow... (#151) --- .../appeng/me/cluster/implementations/CraftingCPUCluster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/appeng/me/cluster/implementations/CraftingCPUCluster.java b/src/main/java/appeng/me/cluster/implementations/CraftingCPUCluster.java index 0ad508f6375..5bd56729089 100644 --- a/src/main/java/appeng/me/cluster/implementations/CraftingCPUCluster.java +++ b/src/main/java/appeng/me/cluster/implementations/CraftingCPUCluster.java @@ -1299,7 +1299,7 @@ private void prepareElapsedTime() this.getListOfItem( list, CraftingItemList.ACTIVE ); this.getListOfItem( list, CraftingItemList.PENDING ); - int itemCount = 0; + long itemCount = 0; for( final IAEItemStack ge : list ) { itemCount += ge.getStackSize();