Improve config and PAPI support

This commit is contained in:
Draycia committed 2020-07-12 20:23:09 -07:00
1 parent cfedf0e452
commit a020f2f6a7
7 files changed
+25 -15

No files matched your search

@@ -35,7 +35,7 @@ public class SpyChannelCommand extends BaseCommand {
message = simpleChat.getConfig().getString("language.spy-toggled-on");
}
user.sendMessage(simpleChat.processMessage(message, "br", "\n",
user.sendMessage(simpleChat.processMessageWithPapi(player, message, "br", "\n",
"color", "<color:" + channel.getColor().toString() + ">", "channel", channel.getName()));
}
@@ -53,7 +53,7 @@ public class SpyChannelCommand extends BaseCommand {
message = simpleChat.getConfig().getString("language.spy-whispers-on");
}
user.sendMessage(simpleChat.processMessage(message, "br", "\n"));
user.sendMessage(simpleChat.processMessageWithPapi(player, message, "br", "\n"));
}
}