mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Repair rewrite continues
This commit is contained in:
		@@ -3,7 +3,7 @@ Version 2.2.0
 | 
				
			|||||||
    !!!!!!!!!!!!!!!!!!!!!!!!
 | 
					    !!!!!!!!!!!!!!!!!!!!!!!!
 | 
				
			||||||
    This changelog is not complete, I'll be going over it and cleaning it up once 2.2 is close to release
 | 
					    This changelog is not complete, I'll be going over it and cleaning it up once 2.2 is close to release
 | 
				
			||||||
    !!!!!!!!!!!!!!!!!!!!!!!!
 | 
					    !!!!!!!!!!!!!!!!!!!!!!!!
 | 
				
			||||||
    !!!!!!!!!!!!!!!!!!!!!!!!mvn clea
 | 
					    !!!!!!!!!!!!!!!!!!!!!!!!
 | 
				
			||||||
    mcMMO's config system has been rewritten
 | 
					    mcMMO's config system has been rewritten
 | 
				
			||||||
    Nearly every config setting has been renamed and most have brand new comments
 | 
					    Nearly every config setting has been renamed and most have brand new comments
 | 
				
			||||||
    You can now add an unlimited number of custom XP perks with custom defined XP boosts
 | 
					    You can now add an unlimited number of custom XP perks with custom defined XP boosts
 | 
				
			||||||
@@ -11,7 +11,7 @@ Version 2.2.0
 | 
				
			|||||||
    mcMMO will now warn you in the console if it thinks you are running incompatible server software
 | 
					    mcMMO will now warn you in the console if it thinks you are running incompatible server software
 | 
				
			||||||
    Parties no longer have a cap, you can level them forever for bragging rights
 | 
					    Parties no longer have a cap, you can level them forever for bragging rights
 | 
				
			||||||
    You can now specify multiple repair-items for an item (such as specifying that a wooden sword can be repaired by all types of planks)
 | 
					    You can now specify multiple repair-items for an item (such as specifying that a wooden sword can be repaired by all types of planks)
 | 
				
			||||||
    Repair no longer consumes materials with item lore, players are informed that they cannot repair with that material if its the only matching repair material in their inventory
 | 
					    Repair config has been rewritten and expanded to support much more complex settings
 | 
				
			||||||
    Removed the following Repair/Salvage permissions
 | 
					    Removed the following Repair/Salvage permissions
 | 
				
			||||||
        mcmmo.ability.repair.stonerepair
 | 
					        mcmmo.ability.repair.stonerepair
 | 
				
			||||||
        mcmmo.ability.repair.stringrepair
 | 
					        mcmmo.ability.repair.stringrepair
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -124,7 +124,7 @@ public class SalvageManager extends SkillManager {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if(lotteryResults == salvageableAmount && salvageableAmount != 1) {
 | 
					        if(lotteryResults == salvageableAmount && salvageableAmount != 1 && RankUtils.isPlayerMaxRankInSubSkill(player, SubSkillType.SALVAGE_ARCANE_SALVAGE)) {
 | 
				
			||||||
            mcMMO.getNotificationManager().sendPlayerInformationChatOnly(player, "Salvage.Skills.Lottery.Perfect", String.valueOf(lotteryResults), StringUtils.getPrettyItemString(item.getType()));
 | 
					            mcMMO.getNotificationManager().sendPlayerInformationChatOnly(player, "Salvage.Skills.Lottery.Perfect", String.valueOf(lotteryResults), StringUtils.getPrettyItemString(item.getType()));
 | 
				
			||||||
        } else if(RankUtils.isPlayerMaxRankInSubSkill(player, SubSkillType.SALVAGE_ARCANE_SALVAGE) || salvageableAmount == 1) {
 | 
					        } else if(RankUtils.isPlayerMaxRankInSubSkill(player, SubSkillType.SALVAGE_ARCANE_SALVAGE) || salvageableAmount == 1) {
 | 
				
			||||||
            mcMMO.getNotificationManager().sendPlayerInformationChatOnly(player,  "Salvage.Skills.Lottery.Normal", String.valueOf(lotteryResults), StringUtils.getPrettyItemString(item.getType()));
 | 
					            mcMMO.getNotificationManager().sendPlayerInformationChatOnly(player,  "Salvage.Skills.Lottery.Normal", String.valueOf(lotteryResults), StringUtils.getPrettyItemString(item.getType()));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user