Only send massages if any exist
Prior to this an empty message would be sent if no i messages present. Now we dont send anything if no messages is present.
This commit is contained in:
parent
3e4f280b42
commit
d6bcb13e9c
@ -348,8 +348,11 @@ public class MassiveCommand
|
||||
catch (MassiveException ex)
|
||||
{
|
||||
// Sometimes ArgReaders (or commands themself) throw exceptions, to stop executing and notify the user.
|
||||
if (ex.hasMessages())
|
||||
{
|
||||
Mixin.messageOne(sender, ex.getMessages());
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Unset Sender Variables
|
||||
|
Loading…
Reference in New Issue
Block a user