mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 21:15:28 +02:00
Second Smelt makes use of its own section in Bonus Drops in config.yml
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
@@ -99,7 +99,7 @@ public class BlastMining {
|
||||
// We can make this assumption because we (should) be the only ones using this exact metadata
|
||||
Player player = mcMMO.p.getServer().getPlayerExact(tnt.getMetadata(mcMMO.tntMetadataKey).get(0).asString());
|
||||
|
||||
if (!player.equals(defender)) {
|
||||
if (!(player != null && player.equals(defender))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -159,7 +159,7 @@ public class MiningManager extends SkillManager {
|
||||
public void blastMiningDropProcessing(float yield, EntityExplodeEvent event) {
|
||||
//Strip out only stuff that gives mining XP
|
||||
|
||||
List<BlockState> ores = new ArrayList<BlockState>();
|
||||
List<BlockState> ores = new ArrayList<>();
|
||||
|
||||
List<BlockState> notOres = new ArrayList<>();
|
||||
for (Block targetBlock : event.blockList()) {
|
||||
|
Reference in New Issue
Block a user