diff --git a/api/src/main/java/me/neznamy/tab/api/FeatureManager.java b/api/src/main/java/me/neznamy/tab/api/FeatureManager.java index 33e27030f..46f0791bd 100644 --- a/api/src/main/java/me/neznamy/tab/api/FeatureManager.java +++ b/api/src/main/java/me/neznamy/tab/api/FeatureManager.java @@ -94,4 +94,6 @@ public interface FeatureManager { void markObjective(); void markDisplayObjective(); + + TabFeature[] getValues(); } \ No newline at end of file diff --git a/shared/src/main/java/me/neznamy/tab/shared/FeatureManagerImpl.java b/shared/src/main/java/me/neznamy/tab/shared/FeatureManagerImpl.java index a1e0df4e7..c3345d735 100644 --- a/shared/src/main/java/me/neznamy/tab/shared/FeatureManagerImpl.java +++ b/shared/src/main/java/me/neznamy/tab/shared/FeatureManagerImpl.java @@ -327,4 +327,9 @@ public boolean isFeatureEnabled(String name) { public TabFeature getFeature(String name) { return features.get(name); } + + @Override + public TabFeature[] getValues() { + return values; + } } \ No newline at end of file diff --git a/shared/src/main/java/me/neznamy/tab/shared/ITabPlayer.java b/shared/src/main/java/me/neznamy/tab/shared/ITabPlayer.java index 0bc7f3527..c93dd00f8 100644 --- a/shared/src/main/java/me/neznamy/tab/shared/ITabPlayer.java +++ b/shared/src/main/java/me/neznamy/tab/shared/ITabPlayer.java @@ -415,4 +415,8 @@ public String getNickname() { public void setNickname(String nickname) { this.nickname = nickname; } + + public void setChannel(Channel channel) { + this.channel = channel; + } }