Skip to content

Commit

Permalink
redo: 324f677
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHsieh0415 committed Sep 27, 2024
1 parent 849c329 commit b09d894
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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(')');
Expand Down

0 comments on commit b09d894

Please sign in to comment.