aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/recipes/MobLootRecipe.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/recipes/MobLootRecipe.java b/src/main/java/io/github/moulberry/notenoughupdates/recipes/MobLootRecipe.java
index 0e210e42..e22647cc 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/recipes/MobLootRecipe.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/recipes/MobLootRecipe.java
@@ -44,7 +44,9 @@ public class MobLootRecipe implements NeuRecipe {
public ItemStack getItemStack() {
if (itemStack == null) {
itemStack = drop.getItemStack().copy();
- ItemUtils.appendLore(itemStack, extra);
+ List<String> arrayList = new ArrayList<>(extra);
+ arrayList.add("§r§fDrop Chance: §6" + chance);
+ ItemUtils.appendLore(itemStack, arrayList);
}
return itemStack;
}