Change prefix to message-prefix

This commit is contained in:
Draycia committed 2020-08-07 02:10:22 -07:00
1 parent f64ae319ed
commit 4bd0df8272
4 files changed
+9 -9

No files matched your search

@@ -41,7 +41,7 @@ public abstract class ChatChannel {
public abstract String getKey();
@Nullable
public abstract String getPrefix();
public abstract String getMessagePrefix();
public abstract String getAliases();
@@ -290,9 +290,9 @@ public class CarbonChatChannel extends ChatChannel {
@Override
@Nullable
public String getPrefix() {
if (config != null && config.contains("prefix")) {
return config.getString("prefix");
public String getMessagePrefix() {
if (config != null && config.contains("message-prefix")) {
return config.getString("message-prefix");
}
return null;