From b2bf29cae2f23eb1070b0cdcb7d7692f61e0d548 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 9 Mar 2025 15:49:26 -0700 Subject: [PATCH] tweaks to start up msg --- Changelog.txt | 1 + .../com/gmail/nossr50/config/skills/alchemy/PotionConfig.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index e27c3f12f..fd4c45156 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2,6 +2,7 @@ Version 2.2.033 Added Breeze_Rod entries to potions.yml for Awkward potion (see notes) Added missing Wind Charging potion entries to potions.yml (see notes) Fixed bug where mcMMO would attempt to load potions that required ingredients or effects from newer versions of Minecraft + mcMMO is a little more specific during start up of how many potions it loaded, it will now report on incompatible potions from being on an older game version. NOTES: You will have to update your potions.yml manually to receive these changes, it is highly recommended that if you haven't customized this file that you simply just delete it, mcMMO will generate a new one on the next start up and it will contain all the missing entries. diff --git a/src/main/java/com/gmail/nossr50/config/skills/alchemy/PotionConfig.java b/src/main/java/com/gmail/nossr50/config/skills/alchemy/PotionConfig.java index 7e2ad8ac3..39fb5adba 100644 --- a/src/main/java/com/gmail/nossr50/config/skills/alchemy/PotionConfig.java +++ b/src/main/java/com/gmail/nossr50/config/skills/alchemy/PotionConfig.java @@ -141,7 +141,8 @@ public class PotionConfig extends LegacyConfigLoader { int totalPotions = potionsLoaded + incompatible + failures; - mcMMO.p.getLogger().info("Loaded " + potionsLoaded + "/" + totalPotions + " Alchemy potions."); + mcMMO.p.getLogger().info("Loaded " + potionsLoaded + " of " + totalPotions + " Alchemy potions."); + if (incompatible > 0) { mcMMO.p.getLogger().info("Skipped " + incompatible + " Alchemy potions that require a newer" + " Minecraft game version.");