Reduce ChatChannel redundancy

This commit is contained in:
Draycia committed 2020-06-17 11:10:55 -07:00
1 parent c62f5d0641
commit 707556d9f9
6 files changed
+29 -765

No files matched your search

@@ -47,7 +47,7 @@ public class SimpleChatChannel extends ChatChannel {
private SimpleChatChannel() { }
private SimpleChatChannel(TextColor color, long id, Map<String, String> formats, String webhook, boolean isDefault, boolean ignorable, String name, double distance, String switchMessage, String toggleOffMessage, String toggleOnMessage, SimpleChat simpleChat) {
SimpleChatChannel(TextColor color, long id, Map<String, String> formats, String webhook, boolean isDefault, boolean ignorable, String name, double distance, String switchMessage, String toggleOffMessage, String toggleOnMessage, SimpleChat simpleChat) {
this.color = color;
this.id = id;
this.formats = formats;
@@ -185,6 +185,10 @@ public class SimpleChatChannel extends ChatChannel {
return true;
}
public Map<String, String> getFormats() {
return formats;
}
@Override
public TextColor getColor() {
return color;