Skip to content

Commit

Permalink
MobdeathConfig: Removed warning message for workaround (too spammy)
Browse files Browse the repository at this point in the history
  • Loading branch information
mindsolve committed May 13, 2021
1 parent 3bb0f86 commit c55bb18
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static PlayerMessageSetting getPlayerMessageSetting(UUID playerUUID) {
Object messageSetting = getUserSection(playerUUID).getOrSetDefault("message-setting", PlayerMessageSetting.ALL_MESSAGES);
//noinspection ConstantConditions
if (messageSetting instanceof String) {
pluginInstance.getLogger().warning("[config] returned string, not enum");
messageSetting = PlayerMessageSetting.valueOf((String) messageSetting);
}
return (PlayerMessageSetting) messageSetting;
Expand Down

0 comments on commit c55bb18

Please sign in to comment.