mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-03 04:21:37 +00:00
Catch Exception in Commandpay for payUser
call.
This commit is contained in:
parent
a6f1e305ef
commit
6bc9f2140c
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ public class Commandpay extends EssentialsLoopCommand {
|
|||
} catch (MaxMoneyException ignored) {
|
||||
// this should never happen
|
||||
}
|
||||
} catch (Exception e) {
|
||||
sender.sendMessage(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue