Fixing merge issues, again.

This commit is contained in:
gmcferrin
2013-01-08 18:52:50 -05:00
parent 0249ae2724
commit 793bd04afe
3 changed files with 10 additions and 9 deletions

View File

@ -5,6 +5,7 @@ import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
@ -165,7 +166,7 @@ public class SimpleRepairManager implements RepairManager {
item.setAmount(item.getAmount() - 1);
}
else {
item = new ItemStack(0);
item = new ItemStack(Material.AIR);
}
// I suspect this may not be needed, but I don't think it hurts