summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockPistonExtension.java
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2013-10-06 22:37:44 -0500
committerWesley Wolfe <weswolf@aol.com>2013-10-06 22:37:44 -0500
commitca5e0c6db0ee1b104158b973d9095d95d80de835 (patch)
tree1972948f49e50b8af80020e19d7db8c3fd1b538a /src/main/java/net/minecraft/server/BlockPistonExtension.java
parentcfa5490a58b9ab857317b75abecc9c6e5a07bc1a (diff)
downloadcraftbukkit-ca5e0c6db0ee1b104158b973d9095d95d80de835.tar
craftbukkit-ca5e0c6db0ee1b104158b973d9095d95d80de835.tar.gz
craftbukkit-ca5e0c6db0ee1b104158b973d9095d95d80de835.tar.lz
craftbukkit-ca5e0c6db0ee1b104158b973d9095d95d80de835.tar.xz
craftbukkit-ca5e0c6db0ee1b104158b973d9095d95d80de835.zip
Add exception-resilience to reading UUID. Fixes BUKKIT-4833
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.
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockPistonExtension.java')
0 files changed, 0 insertions, 0 deletions