mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-12 08:41:00 -05:00
Exclude chunks from the equals and hashcode method
This commit is contained in:
parent
3cee923a3f
commit
b0229a67b5
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ package com.github.steveice10.mc.protocol.data.game.chunk;
|
||||||
|
|
||||||
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
|
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
import lombok.NonNull;
|
import lombok.NonNull;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -11,6 +12,7 @@ public class Column {
|
||||||
private final int x;
|
private final int x;
|
||||||
private final int z;
|
private final int z;
|
||||||
private final boolean ignoreOldData;
|
private final boolean ignoreOldData;
|
||||||
|
@EqualsAndHashCode.Exclude
|
||||||
private final @NonNull Chunk[] chunks;
|
private final @NonNull Chunk[] chunks;
|
||||||
private final @NonNull CompoundTag[] tileEntities;
|
private final @NonNull CompoundTag[] tileEntities;
|
||||||
private final @NonNull CompoundTag heightMaps;
|
private final @NonNull CompoundTag heightMaps;
|
||||||
|
|
Loading…
Reference in a new issue