mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 18:46:13 +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) {
|
} catch (MaxMoneyException ignored) {
|
||||||
// this should never happen
|
// this should never happen
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
sender.sendMessage(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue