Skip to content

Commit

Permalink
Fix to Furnace Events
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Nov 8, 2013
1 parent 0f0b1af commit bfc9cef
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -945,7 +945,7 @@ else if (Argument.valueOf(determination)
public void furnaceExtract(FurnaceExtractEvent event) {

Map<String, dObject> context = new HashMap<String, dObject>();
dMaterial itemMaterial = dMaterial.getMaterialFrom(event.getBlock().getType(), event.getBlock().getData());
dMaterial itemMaterial = dMaterial.getMaterialFrom(event.getItemType());
dItem item = new dItem(itemMaterial, event.getItemAmount());

context.put("location", new dLocation(event.getBlock().getLocation()));
Expand Down

0 comments on commit bfc9cef

Please sign in to comment.