Merge pull request #54 from Spongecade/patch-1

Update Minecraft wiki links to new domain
This commit is contained in:
Tim Visée 2023-10-13 18:53:23 +02:00 committed by GitHub
commit 37fdb9c12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ async fn send_v1_16_3(
packet::write_packet( packet::write_packet(
Title { Title {
action: if title.is_empty() && subtitle.is_empty() { action: if title.is_empty() && subtitle.is_empty() {
// Defaults: https://minecraft.fandom.com/wiki/Commands/title#Detail // Defaults: https://minecraft.wiki/w/Commands/title#Detail
TitleAction::SetTimesAndDisplay { TitleAction::SetTimesAndDisplay {
fade_in: 10, fade_in: 10,
stay: 70, stay: 70,
@ -121,7 +121,7 @@ async fn send_v1_17(
// Set title times // Set title times
packet::write_packet( packet::write_packet(
if title.is_empty() && subtitle.is_empty() { if title.is_empty() && subtitle.is_empty() {
// Defaults: https://minecraft.fandom.com/wiki/Commands/title#Detail // Defaults: https://minecraft.wiki/w/Commands/title#Detail
SetTitleTimes { SetTitleTimes {
fade_in: 10, fade_in: 10,
stay: 70, stay: 70,