mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Minor tweak to Blast Mining.
This commit is contained in:
parent
6d883821a8
commit
72bfe63ebf
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user