| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| Bump phpstan/phpstan from 1.11.2 to 1.11.8 in the development-patch-updates group (#6410)
| 1 年前 |
| Use PHP-CS-Fixer to enforce file header presence
| 3 年前 |
| ResourcePackManager: validate pack UUIDs
fixes CrashArchive ##12248760
| 1 年前 |
| ZippedResourcePack: ensure header UUID is valid
I assumed that a check in ResourcePackManager would be sufficient, but it's not.
PlayerResourcePackOfferEvent can also be a source of invalid UUIDs, and also
people may reflect their way in (which is super annoying, but not much I can do
about it).
In PM6 we should change the UUIDs to be internally represented by Uuid objects
instead of strings, so that the validity is contractually guaranteed.
| 4 个月前 |