mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Show correct minimum level in adept salvage message
This commit is contained in:
		@@ -87,7 +87,7 @@ public class SalvageManager extends SkillManager {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // Level check
 | 
					        // Level check
 | 
				
			||||||
        if (getSkillLevel() < minimumSalvageableLevel) {
 | 
					        if (getSkillLevel() < minimumSalvageableLevel) {
 | 
				
			||||||
            NotificationManager.sendPlayerInformation(player, NotificationType.REQUIREMENTS_NOT_MET, "Salvage.Skills.Adept.Level", String.valueOf(RankUtils.getUnlockLevel(SubSkillType.SALVAGE_ARCANE_SALVAGE)), StringUtils.getPrettyItemString(item.getType()));
 | 
					            NotificationManager.sendPlayerInformation(player, NotificationType.REQUIREMENTS_NOT_MET, "Salvage.Skills.Adept.Level", String.valueOf(salvageable.getMinimumLevel()), StringUtils.getPrettyItemString(item.getType()));
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user