summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/chat
diff options
context:
space:
mode:
authorMinenash <minenash@protonmail.com>2019-01-13 22:38:39 -0500
committerMinenash <minenash@protonmail.com>2019-01-13 22:38:39 -0500
commit6466001b9a32d49cccc6b883a3da0efd64fca51f (patch)
tree193fb802fc553fdcd3fdeb01d00a96c952632f82 /src/main/java/com/redstoner/modules/chat
parent49b14be1c8dd59fecef9da6a808005ca795b346a (diff)
Fixed spelling in method (and method call)
Diffstat (limited to 'src/main/java/com/redstoner/modules/chat')
-rw-r--r--src/main/java/com/redstoner/modules/chat/Chat.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/redstoner/modules/chat/Chat.java b/src/main/java/com/redstoner/modules/chat/Chat.java
index 1e09ea9..5a2f8d7 100644
--- a/src/main/java/com/redstoner/modules/chat/Chat.java
+++ b/src/main/java/com/redstoner/modules/chat/Chat.java
@@ -224,7 +224,7 @@ public class Chat implements Module, Listener {
private String getMentioMessage(CommandSender sender, Player player, String format, String message) {
try {
Module mod = ModuleLoader.getModule("Mentio");
- Method m = mod.getClass().getDeclaredMethod("motifyMessageWithMentio", CommandSender.class, Player.class, String.class);
+ Method m = mod.getClass().getDeclaredMethod("modifyMessageWithMentio", CommandSender.class, Player.class, String.class);
m.setAccessible(true);
String msg = (String) m.invoke(mod, sender, player, message);