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(')');