Catch Exception in Commandpay for payUser call.

This commit is contained in:
Ali Moghnieh 2016-12-03 15:23:53 +00:00
parent a6f1e305ef
commit 6bc9f2140c
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70

View File

@ -61,6 +61,8 @@ public class Commandpay extends EssentialsLoopCommand {
} catch (MaxMoneyException ignored) {
// this should never happen
}
} catch (Exception e) {
sender.sendMessage(e.getMessage());
}
}
}