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:
Ursprung
84ea606092
Commit
0f3b81fcd6
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren