script player.sendMessage uses String as color parameter

This commit is contained in:
1whohears committed 2022-05-28 22:53:57 -05:00
1 parent 3b6668ea15
commit b18d0965f2
2 files changed
+38

No files matched your search

@@ -99,6 +99,10 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>
void sendMessage(String message, EnumChatFormatting color, boolean bold, boolean italic, boolean underlined);
void sendMessage(String message, EnumChatFormatting color, boolean bold, boolean italic, boolean obfuscated, boolean strikethrough, boolean underlined);
void sendMessage(String message, String color, boolean bold, boolean italic, boolean underlined);
void sendMessage(String message, String color, boolean bold, boolean italic, boolean obfuscated, boolean strikethrough, boolean underlined);
/**
* @return Return gamemode. 0: Survival, 1: Creative, 2: Adventure