Browse Source

Minor tweak to Blast Mining.

GJ 13 years ago
parent
commit
72bfe63ebf
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/main/java/com/gmail/nossr50/skills/BlastMining.java

+ 2 - 3
src/main/java/com/gmail/nossr50/skills/BlastMining.java

@@ -37,7 +37,7 @@ import com.gmail.nossr50.datatypes.SkillType;
 
 public class BlastMining{
 	
-	public static Block explosionBlockDrops(Block block, Location loc)
+	public static void explosionBlockDrops(Block block, Location loc)
 	{
     	int id = block.getTypeId();
 		ItemStack item = new ItemStack(id, 1);
@@ -85,7 +85,6 @@ public class BlastMining{
 			m.mcDropItem(loc, item);
 			break;	
 		}
-		return block;
 	}
 	
 	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);
     }
 	
-}
+}