mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-08 20:10:29 +01:00
Catch Exception in Commandpay for payUser
call.
This commit is contained in:
parent
a6f1e305ef
commit
6bc9f2140c
@ -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 New Issue
Block a user