소스 검색

Lets add some RED to that message

nossr50 13 년 전
부모
커밋
0c8b944b12
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/gmail/nossr50/commands/party/PtpCommand.java

+ 1 - 1
src/main/java/com/gmail/nossr50/commands/party/PtpCommand.java

@@ -44,7 +44,7 @@ public class PtpCommand implements CommandExecutor {
 		
 		if(PP.getRecentlyHurt()+(30*1000) > System.currentTimeMillis())
 		{
-		    player.sendMessage("You've been hurt in the last 30 seconds and cannnot teleport.");
+		    player.sendMessage(ChatColor.RED+"You've been hurt in the last 30 seconds and cannnot teleport.");
 		    return true;
 		}