Преглед изворни кода

Minor tweak to Blast Mining.

GJ пре 13 година
родитељ
комит
72bfe63ebf
1 измењених фајлова са 2 додато и 3 уклоњено
  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);
     }
 	
-}
+}