Browse Source

Fixed bug with locale strings and party teleport.

GJ 13 years ago
parent
commit
ce9d668602
2 changed files with 2 additions and 1 deletions
  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;
             }