mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 22:22:18 -07:00
readd beacon effect cause
This commit is contained in:
@@ -100,8 +100,8 @@
|
||||
MutableComponent mutableComponent = Component.literal(var12.getMessage() == null ? var12.getClass().getName() : var12.getMessage());
|
||||
- if (LOGGER.isDebugEnabled()) {
|
||||
- LOGGER.error("Command exception: /{}", command, var12);
|
||||
+ Commands.LOGGER.error("Command exception: /{}", command, var12); // Paper - always show execution exception in console log
|
||||
+ if (commandSourceStack.getServer().isDebugging() || Commands.LOGGER.isDebugEnabled()) { // Paper - Debugging
|
||||
+ LOGGER.error("Command exception: /{}", command, var12); // Paper - always show execution exception in console log
|
||||
+ if (commandSourceStack.getServer().isDebugging() || LOGGER.isDebugEnabled()) { // Paper - Debugging
|
||||
StackTraceElement[] stackTrace = var12.getStackTrace();
|
||||
|
||||
for (int i = 0; i < Math.min(stackTrace.length, 3); i++) {
|
||||
|
Reference in New Issue
Block a user