From 4359cd977f4b01aa035219ffebd1a1a0ad3849fc Mon Sep 17 00:00:00 2001 From: Timo Ley Date: Mon, 9 Jan 2023 15:43:02 +0100 Subject: [PATCH] fix: crystal core drops --- .../net/anvilcraft/classiccasting/blocks/BlockCrystal.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/anvilcraft/classiccasting/blocks/BlockCrystal.java b/src/main/java/net/anvilcraft/classiccasting/blocks/BlockCrystal.java index 401237f..dba4af7 100644 --- a/src/main/java/net/anvilcraft/classiccasting/blocks/BlockCrystal.java +++ b/src/main/java/net/anvilcraft/classiccasting/blocks/BlockCrystal.java @@ -158,6 +158,7 @@ public class BlockCrystal extends BlockContainer { ret.add(new ItemStack(Items.nether_star)); int total = 0; for (int t = 0; t < 5; ++t) { + t = t == 4 ? 7 : t; final int q = 2 + world.rand.nextInt(3); total += q; for (int a = 0; a < q; ++a) { @@ -165,7 +166,7 @@ public class BlockCrystal extends BlockContainer { } } if (20 - total > 0) { - ret.add(new ItemStack(ConfigItems.itemShard, 20 - total, 5)); + ret.add(new ItemStack(ConfigItems.itemShard, 20 - total, 8)); } return ret; }