Skip to content

Commit

Permalink
fixed: cook time factor was sometimes ignored #31
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Nov 12, 2023
1 parent 5bcbbbf commit 882050b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Forge Recommended Versioning](https://mcforge.readthedocs.io/en/latest/conventions/versioning/).

## [1.20.2-2.2.0.2] - 2023-11-12
### Fixed
- cook time factor was sometimes ignored (thanks to Lcannine for the report) #31

## [1.20.2-2.2.0.1] - 2023-11-08
### Fixed
- cook time factor was ignored for every first smelted item (thanks to Lcannine for the report) #29
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ loader_version_range=[48,)

## Mod Properties
mod_id=brickfurnace
mod_version=2.2.0.1
mod_version=2.2.0.2
mod_group_id=cech12.brickfurnace
mod_name=Brick Furnace
mod_authors=Cech12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public RecipeHolder<? extends AbstractCookingRecipe> getRecipe() {
return null;
}
if (this.level != null && curRecipe != null && curRecipe.value().matches(this, level)) {
dataAccess.set(COOK_TIME_TOTAL, getTotalCookTime(curRecipe));
return curRecipe;
} else {
RecipeHolder<? extends AbstractCookingRecipe> rec = null;
Expand Down

0 comments on commit 882050b

Please sign in to comment.