From bdc0bee1f21c18ebd8d422987bf64d70a9611497 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 21 Nov 2024 01:08:22 +0200 Subject: [PATCH] add Getter --- .../me/tofaa/entitylib/wrapper/WrapperPerPlayerEntity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperPerPlayerEntity.java b/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperPerPlayerEntity.java index e27f286..2621902 100644 --- a/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperPerPlayerEntity.java +++ b/api/src/main/java/me/tofaa/entitylib/wrapper/WrapperPerPlayerEntity.java @@ -39,6 +39,10 @@ public class WrapperPerPlayerEntity { execute(e -> e.spawn(location)); } + public Map getEntities() { + return entities; + } + public void addViewer(User user) { getEntityOf(user).addViewer(user); }