NPEs are bad and I should feel bad.

This commit is contained in:
GJ 2013-01-14 17:38:47 -05:00
parent a92843533b
commit 72b8eb85b0

View File

@ -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;