소스 검색

Fixed bug with locale strings and party teleport.

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

+ 1 - 0
Changelog.txt

@@ -14,6 +14,7 @@ Version 1.3.09
  = Fixed bug with duping blocks via piston pushing
  = Fixed bug with falling sand/gravel not being tracked
  = Fixed bug with Tree Feller not working with custom axes
+ = Fixed bug with locale strings when trying to teleport to a non-existent player.
  ! Changed Spout settings to be in their own config file (spout.yml)
 
 Version 1.3.08

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

@@ -57,7 +57,7 @@ public class PtpCommand implements CommandExecutor {
             }
 
             if (target == null) {
-                player.sendMessage(LocaleLoader.getString("Party.Teleport.Invalid"));
+                player.sendMessage(LocaleLoader.getString("Party.Player.Invalid"));
                 return true;
             }