Removed option to disable Salvage via the config file. This should be

handled via permissions instead.
This commit is contained in:
GJ
2013-03-06 10:50:59 -05:00
parent 6b18cec7fb
commit 2c7f931c4d
4 changed files with 2 additions and 3 deletions

View File

@ -176,7 +176,7 @@ public class RepairManager extends SkillManager {
public void handleSalvage(Location location, ItemStack item) {
Player player = getPlayer();
if (!Config.getInstance().getSalvageEnabled() || player.getGameMode() != GameMode.SURVIVAL) {
if (player.getGameMode() != GameMode.SURVIVAL) {
return;
}