3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-19 17:30:08 +01:00

chore: constant not required anymore

Dieser Commit ist enthalten in:
Pierre Maurice Schwang 2024-06-21 00:47:59 +02:00
Ursprung 84ea606092
Commit 0f3b81fcd6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 37E613079F3E5BB9

Datei anzeigen

@ -65,7 +65,6 @@ import java.util.zip.GZIPInputStream;
public class FastSchematicReaderV3 implements ClipboardReader { public class FastSchematicReaderV3 implements ClipboardReader {
private static final Logger LOGGER = LogManagerCompat.getLogger(); private static final Logger LOGGER = LogManagerCompat.getLogger();
private static final int CONTENT_DATA_TAGS = 3; // Blocks, Biomes, Entities
private final InputStream resetableInputStream; private final InputStream resetableInputStream;
private final MutableBlockVector3 dimensions = MutableBlockVector3.at(0, 0, 0); private final MutableBlockVector3 dimensions = MutableBlockVector3.at(0, 0, 0);
@ -81,7 +80,7 @@ public class FastSchematicReaderV3 implements ClipboardReader {
private int dataVersion = -1; private int dataVersion = -1;
public FastSchematicReaderV3(@NonNull InputStream stream) throws IOException { public FastSchematicReaderV3(@NonNull InputStream stream) {
Objects.requireNonNull(stream, "stream"); Objects.requireNonNull(stream, "stream");
if (stream instanceof FileInputStream fileInputStream) { if (stream instanceof FileInputStream fileInputStream) {
stream = new ResettableFileInputStream(fileInputStream); stream = new ResettableFileInputStream(fileInputStream);