mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
When a "uid.dat" file is corrupt (empty or <16 bytes), WorldNBTStorage will silently fail to read and return null. Non-null behavior is expected everywhere that this value is used. This change will force a random UUID when the previous UUID cannot be read, and getUUID to no longer silently ignore read/write exceptions.