Skip to content

Commit fd33bf7

Browse files
committed
Remove unused Chunk import and clarify clone() behavior
1 parent e3830d0 commit fd33bf7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/org/glavo/nbt/tag/Tag.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.glavo.nbt.MinecraftEdition;
1919
import org.glavo.nbt.NBTElement;
2020
import org.glavo.nbt.NBTParent;
21-
import org.glavo.nbt.chunk.Chunk;
2221
import org.glavo.nbt.internal.input.DataReader;
2322
import org.glavo.nbt.internal.input.InputContext;
2423
import org.glavo.nbt.internal.input.InputSource;
@@ -199,7 +198,7 @@ public String toString() {
199198

200199
/// Returns a new tag with the same name and content as the current tag.
201200
///
202-
/// This method always performs a deep copy.
201+
/// This method always performs a deep copy, and the returned tag will not have a parent tag.
203202
@Override
204203
public abstract Tag clone();
205204

0 commit comments

Comments
 (0)