mirror of
https://github.com/NLthijs48/AreaShop.git
synced 2024-11-16 15:25:11 +01:00
Fix missing spaces in /as message
messages
This commit is contained in:
parent
00bd305381
commit
5dc4d11408
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user