From b0229a67b5bf81ebadb96e75c1981bb506d02d07 Mon Sep 17 00:00:00 2001 From: Tim203 Date: Wed, 24 Jun 2020 00:24:49 +0200 Subject: [PATCH] Exclude chunks from the equals and hashcode method --- .../github/steveice10/mc/protocol/data/game/chunk/Column.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java index 8dc06336..4fc5086f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java @@ -2,6 +2,7 @@ package com.github.steveice10.mc.protocol.data.game.chunk; import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import lombok.Data; +import lombok.EqualsAndHashCode; import lombok.NonNull; import java.util.Arrays; @@ -11,6 +12,7 @@ public class Column { private final int x; private final int z; private final boolean ignoreOldData; + @EqualsAndHashCode.Exclude private final @NonNull Chunk[] chunks; private final @NonNull CompoundTag[] tileEntities; private final @NonNull CompoundTag heightMaps;