aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-11-03 16:18:26 +0100
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2020-11-03 16:18:26 +0100
commitd7f0d4575188c477e60184a08c882c380a1805cb (patch)
treefcc54b4e1e0407f6f766e27b1cd5d8108091b938 /src/main
parent87c3702289ff4eddd345906dbf24c2f5fdc24674 (diff)
downloadGT5-Unofficial-d7f0d4575188c477e60184a08c882c380a1805cb.tar.gz
GT5-Unofficial-d7f0d4575188c477e60184a08c882c380a1805cb.tar.bz2
GT5-Unofficial-d7f0d4575188c477e60184a08c882c380a1805cb.zip
Fixes a bug where only 1Item is in stack
Former-commit-id: c5b014c5f18f083be19bfb625436db89f2a59242
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
index ccc8966bcf..c4dedef9d7 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
@@ -1429,7 +1429,7 @@ public class WerkstoffLoader {
public static ItemStack getCorrespondingItemStackUnsafe(OrePrefixes orePrefixes, Werkstoff werkstoff, int amount) {
if (!werkstoff.getGenerationFeatures().enforceUnification) {
- ItemStack ret = GT_OreDictUnificator.get(orePrefixes, werkstoff.getBridgeMaterial(), 1);
+ ItemStack ret = GT_OreDictUnificator.get(orePrefixes, werkstoff.getBridgeMaterial(), amount);
if (ret != null)
return ret;
ret = OreDictHandler.getItemStack(werkstoff.getVarName(), orePrefixes, amount);