mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
Reintroduce sendColoredMessage for backward compatibility
This commit is contained in:
1 parent
c23d9196b0
commit
83484bf080
1 file changed
+8
@@ -475,6 +475,14 @@ public class MsgUtil {
|
||||
}
|
||||
}
|
||||
|
||||
//For backward compatibility
|
||||
@Deprecated
|
||||
public static void sendColoredMessage(@NotNull CommandSender sender, @NotNull ChatColor chatColor, @Nullable String... messages) {
|
||||
for (String message : messages) {
|
||||
sendDirectMessage(sender, chatColor + message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param player The name of the player to message
|
||||
* @param transactionMessage The message to send them Sends the given player a message if they're online.
|
||||
|
||||
Reference in new issue
Block a user