From f8b1bfa20af078264c7da06b6c166899d860693b Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 16 Jan 2023 20:45:00 +0100 Subject: [PATCH] Add Getter to DisplayName --- SpigotCore_Main/src/de/steamwar/entity/REntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SpigotCore_Main/src/de/steamwar/entity/REntity.java b/SpigotCore_Main/src/de/steamwar/entity/REntity.java index 6c5bf80..9b7969e 100644 --- a/SpigotCore_Main/src/de/steamwar/entity/REntity.java +++ b/SpigotCore_Main/src/de/steamwar/entity/REntity.java @@ -23,6 +23,7 @@ import com.comphenix.tinyprotocol.Reflection; import de.steamwar.core.*; import it.unimi.dsi.fastutil.ints.IntArrayList; import it.unimi.dsi.fastutil.ints.IntList; +import lombok.Getter; import org.bukkit.Location; import org.bukkit.entity.EntityType; import org.bukkit.inventory.ItemStack; @@ -58,6 +59,7 @@ public class REntity { private FlatteningWrapper.EntityPose pose = FlatteningWrapper.EntityPose.NORMAL; private boolean bowDrawn; private int fireTick; + @Getter private String displayName; protected final Map itemSlots;