diff --git a/build.gradle b/build.gradle index 1a623ce..c220a01 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.3.3" +version = "1.7.10-1.3.4" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers" diff --git a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawersComp.java b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawersComp.java index 2f1a7f8..0d70922 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawersComp.java +++ b/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityDrawersComp.java @@ -388,7 +388,7 @@ public class TileEntityDrawersComp extends TileEntityDrawers populateSlots(itemPrototype); for (int i = 0; i < getDrawerCount(); i++) { if (BaseDrawerData.areItemsEqual(protoStack[i], itemPrototype)) - pooledCount = (pooledCount % convRate[slot]) + convRate[slot] * amount; + pooledCount = (pooledCount % convRate[i]) + convRate[i] * amount; } for (int i = 0; i < getDrawerCount(); i++) {