aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/loaders')
-rw-r--r--src/main/java/gregtech/loaders/preload/GTPreLoad.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/gregtech/loaders/preload/GTPreLoad.java b/src/main/java/gregtech/loaders/preload/GTPreLoad.java
index 6216f752dc..b3c4c48095 100644
--- a/src/main/java/gregtech/loaders/preload/GTPreLoad.java
+++ b/src/main/java/gregtech/loaders/preload/GTPreLoad.java
@@ -339,12 +339,9 @@ public class GTPreLoad {
try {
Objects.requireNonNull(GTUtility.getField("ic2.core.item.ItemScrapbox$Drop", "topChance", true, true))
.set(null, 0);
- ((List<?>) Objects.requireNonNull(
- GTUtility.getFieldContent(
- GTUtility.getFieldContent("ic2.api.recipe.Recipes", "scrapboxDrops", true, true),
- "drops",
- true,
- true))).clear();
+ ((List<?>) Objects
+ .requireNonNull(GTUtility.getFieldContent(ic2.api.recipe.Recipes.scrapboxDrops, "drops", true, true)))
+ .clear();
} catch (Throwable e) {
if (GTValues.D1) {
e.printStackTrace(GTLog.err);
@@ -539,7 +536,7 @@ public class GTPreLoad {
/**
* Clamp value between 0 and 255
- *
+ *
* @param value the value to clamp
* @return the clamped value
*/