mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Change prefix to message-prefix
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user