Skip to content

Commit d05747b

Browse files
committed
fix the debug logs item using incorrect debug handler
1 parent d3d25de commit d05747b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickshop-bukkit/src/main/java/com/ghostchu/quickshop/util/paste/item/DebugLogsItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public DebugLogsItem() {
3737
@NotNull
3838
private String buildContent() {
3939
StringJoiner builder = new StringJoiner("\n");
40-
List<String> debugLogs = Log.fetchLogs(Log.Type.PERMISSION).stream().map(recordEntry -> "[" + format.format(recordEntry.getTimestamp()) + "] " + recordEntry).toList();
40+
List<String> debugLogs = Log.fetchLogs(Log.Type.DEBUG).stream().map(recordEntry -> "[" + format.format(recordEntry.getTimestamp()) + "] " + recordEntry).toList();
4141
List<String> tail = CommonUtil.tail(debugLogs, 1000);
4242
tail.forEach(builder::add);
4343
return "<textarea name=\"debuglogs\" style=\"height: 1000px; width: 100%;\">" +

0 commit comments

Comments
 (0)