Fix missing spaces in `/as message` messages

This commit is contained in:
Thijs Wiefferink 2017-11-26 23:49:42 +01:00
parent 00bd305381
commit 5dc4d11408
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public class MessageCommand extends CommandAreaShop {
String[] messageArgs = new String[args.length - 2];
System.arraycopy(args, 2, messageArgs, 0, args.length - 2);
String message = StringUtils.join(messageArgs);
String message = StringUtils.join(messageArgs, " ");
Message.fromString(message).send(player);
}

View File

@ -400,7 +400,7 @@ public class RentRegion extends GeneralRegion {
commands = profileSection.getStringList(timeBefore + ".commands");
// Warn player
if(profileSection.getBoolean(timeBefore + ".warnPlayer") && player != null) {
message(player, "rent-expireWarning", this);
message(player, "rent-expireWarning");
}
} else {
commands = profileSection.getStringList(timeBefore);