Skip to content

Commit

Permalink
de-dumb the dumb-dumb break event
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 22, 2017
1 parent 27c7c5c commit 26eb9d9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ else if (aH.Argument.valueOf(lower).matchesArgumentList(dItem.class)) {
cancelled = true;
block.setType(Material.AIR);

for (dItem newItem : dList.valueOf(lower).filter(dItem.class)) {
for (dItem newItem : dList.valueOf(determination).filter(dItem.class)) {
block.getWorld().dropItemNaturally(block.getLocation().add(0.5, 0.5, 0.5), newItem.getItemStack()); // Drop each item
}
}
Expand Down

0 comments on commit 26eb9d9

Please sign in to comment.