Commit 5e7babc
committed
fix: drop excess refund items into world on research cancel
When cost slots were full at cancel time, refund items were silently
discarded with only a log warning. Excess items are now spawned as
item entities at the block position via Containers.dropItemStack(),
matching the same behaviour as block breaking.1 parent f19f63e commit 5e7babc
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
581 | | - | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
582 | 585 | | |
583 | 586 | | |
584 | 587 | | |
| |||
0 commit comments