1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-18 17:53:00 +01:00

New Salvage ability for Repair!

Added a fully working ability to Repair. With this ability you can
salvage items and get bars in return.

- Added new permission node for Salvage ability
- Added new config options for Salvage
- Added new locale strings for Salvage
- Added a check to make sure that Repair Anvil != Salvage Anvil
This commit is contained in:
TfT_02
2012-11-13 16:50:00 +01:00
parent b0681c10b9
commit f8b44cd8ce
12 changed files with 286 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ public class BlockChecks {
return false;
default:
if (block.getTypeId() == Config.getInstance().getRepairAnvilId()) {
if (block.getTypeId() == Config.getInstance().getRepairAnvilId() | block.getTypeId() == Config.getInstance().getSalvageAnvilId()) {
return false;
}
else {