add Getter
This commit is contained in:
parent
f7fe6a3187
commit
bdc0bee1f2
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue