vectorwing / FarmersDelight

[Forge] A lightweight farming expansion for Minecraft.
MIT License
296 stars 177 forks source link

[1.16.5] Right-clicking a full Skillet with a cookable item resets cooking time #350

Closed vectorwing closed 2 years ago

vectorwing commented 2 years ago

Description If the Skillet is currently cooking an item, and the player fails to insert a cookable item on it (too full, can't fit the current stack etc.), the Skillet will reset its cooking time. This means a player can stall the operation indefinitely by constantly using the item against the block.

Steps to reproduce:

  1. Add a full stack of a cookable item in the Skillet, so that it cannot accept anything else;
  2. Wait a second, and use a cookable item against it once more. This can be repeated.

Expected behavior: Skillets should only reset cooking times when losing its heat source. This action should have no effect on cooking times.

Mod list: FarmersDelight-1.16.5-0.5.1

vectorwing commented 2 years ago

Commit 600ec5b fixed this issue.