From 18a28a87b111f8d3f313c1100228dd599bfb6141 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 13 Jun 2019 15:57:44 -0700 Subject: [PATCH] Fix mistake when registering fully qualified names --- Changelog.txt | 1 + .../com/gmail/nossr50/util/experience/ExperienceManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index defe28171..af2ed248c 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -153,6 +153,7 @@ Version 2.2.0 Config_Update_Overwrite, Tool_Mods_Enabled, Armor_Mods_Enabled, Block_Mods_Enabled, Entity_Mods_Enabled, ExperienceConversionMultiplier API Changes + Added a class to handle experience related operations "ExperienceManager" NotificationManager is now provided via an instance in mcMMOs main class Restructured McMMOPlayerNotificationEvent to accommodate for new changes in NotificationManager Now Notification events are no longer assumed to be sending to the action bar with an option to have a copy sent to chat diff --git a/src/main/java/com/gmail/nossr50/util/experience/ExperienceManager.java b/src/main/java/com/gmail/nossr50/util/experience/ExperienceManager.java index 213884aea..264e4a286 100644 --- a/src/main/java/com/gmail/nossr50/util/experience/ExperienceManager.java +++ b/src/main/java/com/gmail/nossr50/util/experience/ExperienceManager.java @@ -138,7 +138,7 @@ public class ExperienceManager { if (matchingMaterial != null) { //Map the fully qualified name - fullyQualifiedBlockXPMap.put(matchingMaterial.getKey().getKey(), userConfigMap.get(string)); + fullyQualifiedBlockXPMap.put(matchingMaterial.getKey(), userConfigMap.get(string)); } else { mcMMO.p.getLogger().info("Could not find a match for the block named '" + string + "' among vanilla block registers"); }