mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
NPEs are bad and I should feel bad.
This commit is contained in:
parent
a92843533b
commit
72b8eb85b0
@ -1,5 +1,6 @@
|
|||||||
package com.gmail.nossr50.skills.mining;
|
package com.gmail.nossr50.skills.mining;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -20,9 +21,9 @@ public class BlastMiningDropEventHandler {
|
|||||||
private float yield;
|
private float yield;
|
||||||
private List<Block> blocks;
|
private List<Block> blocks;
|
||||||
|
|
||||||
private List<Block> ores;
|
private List<Block> ores = new ArrayList<Block>();
|
||||||
private List<Block> debris;
|
private List<Block> debris = new ArrayList<Block>();
|
||||||
private List<Block> droppedOres;
|
private List<Block> droppedOres = new ArrayList<Block>();
|
||||||
|
|
||||||
private float oreBonus;
|
private float oreBonus;
|
||||||
private float debrisReduction;
|
private float debrisReduction;
|
||||||
|
Loading…
Reference in New Issue
Block a user