فهرست منبع

Fixed bug where using '/party chat message...' would result in the first
word of the message being printed repeatedly. Fixes #760

GJ 12 سال پیش
والد
کامیت
2feba8f64c
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java

+ 1 - 0
Changelog.txt

@@ -12,6 +12,7 @@ Version 1.4.01-dev
  = Fixed bug where /mctop and /mcrank wouldn't show overall power levels for servers using Flatfile
  = Fixed bug where Smelting would throw consistent errors due to offline players
  = Fixed bug where repairing an mcMMO ability-buffed item with mcMMO repair could take the enchant but leave the lore tag
+ = Fixed bug where using '/party chat message...' would result in the first word of the message being printed repeatedly
 
 Version 1.4.00
  + Added new Child Skill - Smelting!

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

@@ -146,7 +146,7 @@ public class PartyCommand implements CommandExecutor {
         String[] newArgs = new String[args.length - 1];
 
         for (int i = 1; i < args.length; i++) {
-            newArgs[i - 1] = args[1];
+            newArgs[i - 1] = args[i];
         }
 
         return newArgs;