From b09d8947582b25d83f3749268d7b80816efbbdc0 Mon Sep 17 00:00:00 2001 From: Mango Jelly Pudding <74277414+EvanHsieh0415@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:55:16 +0000 Subject: [PATCH] redo: 324f677d7006c6ee24919517af26bf1b9735aa10 --- .../java/dev/latvian/mods/kubejs/command/DumpCommands.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/dev/latvian/mods/kubejs/command/DumpCommands.java b/src/main/java/dev/latvian/mods/kubejs/command/DumpCommands.java index a7c64184a..103e9666e 100644 --- a/src/main/java/dev/latvian/mods/kubejs/command/DumpCommands.java +++ b/src/main/java/dev/latvian/mods/kubejs/command/DumpCommands.java @@ -24,7 +24,6 @@ public class DumpCommands { private static final char UNICODE_TICK = '✔'; private static final char UNICODE_CROSS = '✘'; - private static final char BRANCH_NAME = "main"; public static int events(CommandSourceStack source) { var groups = EventGroups.ALL.get().map(); @@ -79,8 +78,7 @@ public static int events(CommandSourceStack source) { if (eventType.getPackageName().startsWith("dev.latvian.mods.kubejs")) { builder.append('[').append(UtilsJS.toMappedTypeString(eventType)).append(']') - .append('(').append("https://github.com/KubeJS-Mods/KubeJS/tree/main/src/") - .append(BRANCH_NAME).append("/java/") + .append('(').append("https://github.com/KubeJS-Mods/KubeJS/tree/main/src/main/java/") .append(eventType.getPackageName().replace('.', '/')) .append('/').append(eventType.getSimpleName()).append(".java") .append(')');