Permalink
Browse files

Fixed CustomDrops.

  • Loading branch information...
me4502 committed May 15, 2017
1 parent 076bb19 commit 78a2623cd592d62764c726986a79ebe61091c40c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/mechanics/drops/CustomDrops.java
@@ -133,7 +133,7 @@ public boolean load() {
}
def.setItems(items);
}
- if (biomeStrings != null) {
+ if (biomeStrings != null && !biomeStrings.isEmpty()) {
List<Biome> biomes = new ArrayList<Biome>();
for (String biomeString : biomeStrings) {
try {

0 comments on commit 78a2623

Please sign in to comment.