add Getter

This commit is contained in:
= 2024-11-21 01:08:22 +02:00
parent f7fe6a3187
commit bdc0bee1f2

View file

@ -39,6 +39,10 @@ public class WrapperPerPlayerEntity {
execute(e -> e.spawn(location));
}
public Map<UUID, WrapperEntity> getEntities() {
return entities;
}
public void addViewer(User user) {
getEntityOf(user).addViewer(user);
}