mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
parent
f6e9fd9f3a
commit
3ab4938f3d
@ -376,7 +376,7 @@ public class PlayerListener implements Listener {
|
||||
// Cancel repairing an enchanted item
|
||||
if (repairManager.checkConfirmation(blockID, false) && Config.getInstance().getRepairConfirmRequired()) {
|
||||
UserManager.getPlayer(player).setLastAnvilUse(Repair.repairAnvilId, 0);
|
||||
player.sendMessage(LocaleLoader.getString("Skills.Cancelled", "Repair"));
|
||||
player.sendMessage(LocaleLoader.getString("Skills.Cancelled", LocaleLoader.getString("Repair.Pretty.Name")));
|
||||
}
|
||||
}
|
||||
/* SALVAGE CHECKS */
|
||||
@ -386,7 +386,7 @@ public class PlayerListener implements Listener {
|
||||
// Cancel salvaging an enchanted item
|
||||
if (repairManager.checkConfirmation(blockID, false) && Config.getInstance().getRepairConfirmRequired()) {
|
||||
UserManager.getPlayer(player).setLastAnvilUse(Repair.salvageAnvilId, 0);
|
||||
player.sendMessage(LocaleLoader.getString("Skills.Cancelled", "Salvage"));
|
||||
player.sendMessage(LocaleLoader.getString("Skills.Cancelled", LocaleLoader.getString("Salvage.Pretty.Name")));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -218,11 +218,11 @@ public class RepairManager extends SkillManager {
|
||||
mcMMOPlayer.actualizeLastAnvilUse(anvilId);
|
||||
|
||||
if (anvilId == Repair.repairAnvilId) {
|
||||
player.sendMessage(LocaleLoader.getString("Skills.ConfirmOrCancel", "Repair"));
|
||||
player.sendMessage(LocaleLoader.getString("Skills.ConfirmOrCancel", LocaleLoader.getString("Repair.Pretty.Name")));
|
||||
}
|
||||
|
||||
if (anvilId == Repair.salvageAnvilId) {
|
||||
player.sendMessage(LocaleLoader.getString("Skills.ConfirmOrCancel", "Salvage"));
|
||||
player.sendMessage(LocaleLoader.getString("Skills.ConfirmOrCancel", LocaleLoader.getString("Salvage.Pretty.Name")));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -240,6 +240,8 @@ Repair.Skills.Mastery=[[RED]]Repair Mastery: [[YELLOW]]Extra {0} durability rest
|
||||
Repair.Skills.StackedItems=[[DARK_RED]]You can't repair stacked items.
|
||||
Repair.Skills.Super.Chance=[[RED]]Super Repair Chance: [[YELLOW]]{0}
|
||||
Repair.Skillup=[[YELLOW]]Repair skill increased by {0}. Total ({1})
|
||||
Repair.Pretty.Name=Repair
|
||||
Salvage.Pretty.Name=Salvage
|
||||
|
||||
#Arcane Forging
|
||||
Repair.Arcane.Chance.Downgrade=[[GRAY]]AF Downgrade Chance: [[YELLOW]]{0}%
|
||||
|
Loading…
Reference in New Issue
Block a user