Commit d0d6445
committed
feat: Update UUID generation to v7 for item stacks
Updated the `ItemStack` constructor to use `Uuid().v7()` for generating default item IDs instead of `v4()`. This change leverages the time-based nature of UUIDv7 for potentially better performance and ordering.
A minor syntax update was also made in `lib/ui/game/campfire/campfire.dart` to use a cascade operator for `BorderRadius`.1 parent 7806b3a commit d0d6445
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments