Skip to content

Commit

Permalink
furnace smelt event - cook time as ticks not seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 28, 2022
1 parent d096ac0 commit 7caf407
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ public ObjectTag getContext(String name) {
case "location": return location;
case "item": return item;
case "recipe_id": return new ElementTag(((Keyed) event.getRecipe()).getKey().toString());
case "total_cook_time": return new DurationTag(event.getTotalCookTime());
case "total_cook_time": return new DurationTag((long) event.getTotalCookTime());
}
return super.getContext(name);
}
Expand Down

0 comments on commit 7caf407

Please sign in to comment.