Minor tweak to Blast Mining.

This commit is contained in:
GJ 2012-03-01 17:04:38 -05:00
parent 6d883821a8
commit 72bfe63ebf

View File

@ -37,7 +37,7 @@ import com.gmail.nossr50.datatypes.SkillType;
public class BlastMining{ public class BlastMining{
public static Block explosionBlockDrops(Block block, Location loc) public static void explosionBlockDrops(Block block, Location loc)
{ {
int id = block.getTypeId(); int id = block.getTypeId();
ItemStack item = new ItemStack(id, 1); ItemStack item = new ItemStack(id, 1);
@ -85,7 +85,6 @@ public class BlastMining{
m.mcDropItem(loc, item); m.mcDropItem(loc, item);
break; break;
} }
return block;
} }
public static List<Block> explosionYields(List<Block> ores, List<Block> debris, float yield, float oreBonus, float debrisReduction, Location location, int extraDrops) public static List<Block> explosionYields(List<Block> ores, List<Block> debris, float yield, float oreBonus, float debrisReduction, Location location, int extraDrops)
@ -283,4 +282,4 @@ public class BlastMining{
Skills.XpCheckSkill(SkillType.MINING, player); Skills.XpCheckSkill(SkillType.MINING, player);
} }
} }