Skip to content

Commit

Permalink
API - Expose another method
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Aug 4, 2022
1 parent daca3f5 commit 363e58b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/java/me/neznamy/tab/api/FeatureManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,6 @@ public interface FeatureManager {
void markObjective();

void markDisplayObjective();

TabFeature[] getValues();
}
Original file line number Diff line number Diff line change
Expand Up @@ -327,4 +327,9 @@ public boolean isFeatureEnabled(String name) {
public TabFeature getFeature(String name) {
return features.get(name);
}

@Override
public TabFeature[] getValues() {
return values;
}
}
4 changes: 4 additions & 0 deletions shared/src/main/java/me/neznamy/tab/shared/ITabPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,8 @@ public String getNickname() {
public void setNickname(String nickname) {
this.nickname = nickname;
}

public void setChannel(Channel channel) {
this.channel = channel;
}
}

0 comments on commit 363e58b

Please sign in to comment.