mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +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…
Reference in a new issue