This commit is contained in:
Chayapak 2023-05-10 18:05:49 +07:00
parent ce3bd2ebc1
commit e45d2c1f48

View file

@ -45,12 +45,14 @@ public class InfoCommand {
.append(Component.newline()) .append(Component.newline())
.append(Component.text("Made by ", NamedTextColor.GRAY)) .append(Component.text("Made by ", NamedTextColor.GRAY))
.append(Component.text("_ChipMC_", TextColor.fromHexString(client.config().color().secondary()))) .append(Component.text("_ChipMC_", TextColor.fromHexString(client.config().color().secondary())))
.append(Component.text(", ", TextColor.fromHexString(client.config().color().primary())))
.append(Component.text("chayapak", TextColor.fromHexString(client.config().color().secondary())))
.append(Component.text(" and contributors", NamedTextColor.GRAY)) .append(Component.text(" and contributors", NamedTextColor.GRAY))
.append(Component.newline()) .append(Component.newline())
.append(Component.text("Original Repository: ", NamedTextColor.GRAY)) .append(Component.text("Original Repository: ", NamedTextColor.GRAY))
.append(Component.text(ORIGINAL_REPOSITORY_URL, TextColor.fromHexString(client.config().color().primary())).clickEvent(ClickEvent.openUrl(ORIGINAL_REPOSITORY_URL))) .append(Component.text(ORIGINAL_REPOSITORY_URL, TextColor.fromHexString(client.config().color().primary())).clickEvent(ClickEvent.openUrl(ORIGINAL_REPOSITORY_URL)))
.append(Component.newline()) .append(Component.newline())
.append(Component.text("chayapak's fork: ", NamedTextColor.GRAY)) .append(Component.text("My fork: ", NamedTextColor.GRAY))
.append(Component.text(FORK_URL, TextColor.fromHexString(client.config().color().primary())).clickEvent(ClickEvent.openUrl(FORK_URL))); .append(Component.text(FORK_URL, TextColor.fromHexString(client.config().color().primary())).clickEvent(ClickEvent.openUrl(FORK_URL)));
source.sendOutput(component, false); source.sendOutput(component, false);