PaperMC/patches
Bjarne Koll 9460497d71
Apply furnace cook speed multiplier through event (#6378)
Previously the upstream FurnaceStartSmeltEvent would default to the
recipes cooking time, ignoring any modifications from the furnace speed
multiplier.
While this works correctly for upstream, paper introduces the speed
multiplier API, which allows a different cook time from the one provided
by the recipe.

This commit now passes the modified cooktime to the furnace start smelt
event explicitly, instead of allowing the event to default to the
recipes cooking time, thus ensuring that the speed modifier is
respected.

Resolves: #6376
2021-09-22 12:46:15 -07:00
..
api Apply furnace cook speed multiplier through event (#6378) 2021-09-22 12:46:15 -07:00
removed
server Apply furnace cook speed multiplier through event (#6378) 2021-09-22 12:46:15 -07:00