mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
Fix mistake when registering fully qualified names
This commit is contained in:
parent
307bf8b332
commit
18a28a87b1
@ -153,6 +153,7 @@ Version 2.2.0
|
|||||||
Config_Update_Overwrite, Tool_Mods_Enabled, Armor_Mods_Enabled, Block_Mods_Enabled, Entity_Mods_Enabled, ExperienceConversionMultiplier
|
Config_Update_Overwrite, Tool_Mods_Enabled, Armor_Mods_Enabled, Block_Mods_Enabled, Entity_Mods_Enabled, ExperienceConversionMultiplier
|
||||||
|
|
||||||
API Changes
|
API Changes
|
||||||
|
Added a class to handle experience related operations "ExperienceManager"
|
||||||
NotificationManager is now provided via an instance in mcMMOs main class
|
NotificationManager is now provided via an instance in mcMMOs main class
|
||||||
Restructured McMMOPlayerNotificationEvent to accommodate for new changes in NotificationManager
|
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
|
Now Notification events are no longer assumed to be sending to the action bar with an option to have a copy sent to chat
|
||||||
|
@ -138,7 +138,7 @@ public class ExperienceManager {
|
|||||||
|
|
||||||
if (matchingMaterial != null) {
|
if (matchingMaterial != null) {
|
||||||
//Map the fully qualified name
|
//Map the fully qualified name
|
||||||
fullyQualifiedBlockXPMap.put(matchingMaterial.getKey().getKey(), userConfigMap.get(string));
|
fullyQualifiedBlockXPMap.put(matchingMaterial.getKey(), userConfigMap.get(string));
|
||||||
} else {
|
} else {
|
||||||
mcMMO.p.getLogger().info("Could not find a match for the block named '" + string + "' among vanilla block registers");
|
mcMMO.p.getLogger().info("Could not find a match for the block named '" + string + "' among vanilla block registers");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user