From b259785bbc203aa9fb30e42e2946e05796ad8a3d Mon Sep 17 00:00:00 2001 From: HelixPHD <30446897+ClassixX@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:34:01 +0100 Subject: [PATCH] Fixed crashes upon harvesting of Praecantatio Infused Seeds (#42) --- gradle/wrapper/gradle-wrapper.properties | 2 +- settings.gradle | 2 +- .../common/core/helper/AspectCropLootManager.java | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 09523c0e..e2847c82 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/settings.gradle b/settings.gradle index 3d3ba12c..0147a994 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,7 +17,7 @@ pluginManagement { } plugins { - id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.27' + id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.30' } diff --git a/src/main/java/thaumic/tinkerer/common/core/helper/AspectCropLootManager.java b/src/main/java/thaumic/tinkerer/common/core/helper/AspectCropLootManager.java index 5fcf5d8a..bc21409a 100644 --- a/src/main/java/thaumic/tinkerer/common/core/helper/AspectCropLootManager.java +++ b/src/main/java/thaumic/tinkerer/common/core/helper/AspectCropLootManager.java @@ -208,7 +208,13 @@ public static void populateLootMap() { addAspectLoot(Aspect.ENERGY, new ItemStack(ConfigItems.itemResource, 12)); - addAspectLoot(Aspect.MAGIC, "materialAspectShard"); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 0)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 1)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 2)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 3)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 4)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 5)); + addAspectLoot(Aspect.MAGIC, new ItemStack(ConfigItems.itemShard, 1, 6)); addAspectLoot(Aspect.HEAL, new ItemStack(Items.golden_apple));