mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 04:55:28 +02:00
Change readChunkStore to Nullable
This commit is contained in:
@@ -161,7 +161,7 @@ public class BitSetChunkStore implements ChunkStore {
|
|||||||
|
|
||||||
public static final short STREAM_MAGIC = (short)0xACDC; // Rock on
|
public static final short STREAM_MAGIC = (short)0xACDC; // Rock on
|
||||||
|
|
||||||
public static @NotNull ChunkStore readChunkStore(DataInputStream inputStream) throws IOException {
|
public static @Nullable ChunkStore readChunkStore(DataInputStream inputStream) throws IOException {
|
||||||
if (inputStream.markSupported())
|
if (inputStream.markSupported())
|
||||||
inputStream.mark(2);
|
inputStream.mark(2);
|
||||||
short magicNumber = inputStream.readShort();
|
short magicNumber = inputStream.readShort();
|
||||||
|
Reference in New Issue
Block a user