diff --git a/src/main/java/net/notcoded/namefabric/command/GetCapeCommand.java b/src/main/java/net/notcoded/namefabric/command/GetCapeCommand.java index 77831a0..1be86d4 100644 --- a/src/main/java/net/notcoded/namefabric/command/GetCapeCommand.java +++ b/src/main/java/net/notcoded/namefabric/command/GetCapeCommand.java @@ -6,8 +6,7 @@ import net.notcoded.namefabric.utils.MinecraftAPI; import org.jetbrains.annotations.NotNull; -import java.net.URI; -import java.time.Duration; + import java.util.Base64; import java.util.HashMap; import static com.mojang.brigadier.arguments.StringArgumentType.getString; @@ -21,6 +20,8 @@ import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; +import java.net.URI; +import java.time.Duration; //?} elif <1.19 { /*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource; @@ -148,7 +149,7 @@ public static int getCapesPlayer(FabricClientCommandSource source, @NotNull Stri capes.put("http://textures.minecraft.net/texture/ca29f5dd9e94fb1748203b92e36b66fda80750c87ebc18d6eafdb0e28cc1d05f", "Translator (Japanese)"); capes.put("http://textures.minecraft.net/texture/f9a76537647989f9a0b6d001e320dac591c359e9e61a31f4ce11c88f207f0ad4", "Vanilla"); capes.put("http://textures.minecraft.net/texture/afd553b39358a24edfe3b8a9a939fa5fa4faa4d9a9c3d6af8eafb377fa05c2bb", "Cherry Blossom"); - capes.put("http://textures.minecraft.net/texture/cd9d82ab17fd92022dbd4a86cde4c382a7540e117fae7b9a2853658505a80625 ", "15th Anniversary"); + capes.put("http://textures.minecraft.net/texture/cd9d82ab17fd92022dbd4a86cde4c382a7540e117fae7b9a2853658505a80625", "15th Anniversary"); capes.put("http://textures.minecraft.net/texture/cb40a92e32b57fd732a00fc325e7afb00a7ca74936ad50d8e860152e482cfbde", "Purple Heart"); capes.put("http://textures.minecraft.net/texture/569b7f2a1d00d26f30efe3f9ab9ac817b1e6d35f4f3cfb0324ef2d328223d350", "Follower's"); capes.put("Valentine Texture", "Valentine"); diff --git a/src/main/java/net/notcoded/namefabric/command/GetSkinCommand.java b/src/main/java/net/notcoded/namefabric/command/GetSkinCommand.java index 6f8334c..d593137 100644 --- a/src/main/java/net/notcoded/namefabric/command/GetSkinCommand.java +++ b/src/main/java/net/notcoded/namefabric/command/GetSkinCommand.java @@ -5,8 +5,6 @@ import com.mojang.brigadier.CommandDispatcher; import net.notcoded.namefabric.utils.MinecraftAPI; -import java.net.URI; -import java.time.Duration; import java.util.Base64; import static com.mojang.brigadier.arguments.StringArgumentType.getString; import static com.mojang.brigadier.arguments.StringArgumentType.string; @@ -19,6 +17,8 @@ import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; +import java.net.URI; +import java.time.Duration; //?} elif <1.19 { /*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource; diff --git a/src/main/java/net/notcoded/namefabric/command/NameHistoryCommand.java b/src/main/java/net/notcoded/namefabric/command/NameHistoryCommand.java index 438add8..a0ccc77 100644 --- a/src/main/java/net/notcoded/namefabric/command/NameHistoryCommand.java +++ b/src/main/java/net/notcoded/namefabric/command/NameHistoryCommand.java @@ -6,8 +6,6 @@ import com.mojang.brigadier.CommandDispatcher; import net.notcoded.namefabric.utils.MinecraftAPI; -import java.net.URI; -import java.time.Duration; import java.util.ArrayList; import java.util.List; import static com.mojang.brigadier.arguments.StringArgumentType.getString; @@ -21,6 +19,8 @@ import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; +import java.net.URI; +import java.time.Duration; //?} elif <1.19 { /*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager; import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource; diff --git a/src/main/resources/assets/namefabric/lang/en_us.json b/src/main/resources/assets/namefabric/lang/en_us.json index 138b40d..547e510 100644 --- a/src/main/resources/assets/namefabric/lang/en_us.json +++ b/src/main/resources/assets/namefabric/lang/en_us.json @@ -5,13 +5,13 @@ "command.getskin.success": "The current skin of %s is: %s", - "command.getuuid.name.success": "The uuid of %s is: %s", + "command.getuuid.name.success": "The UUID of %s is: %s", "command.getuuid.uuid.success": "The name of %s is: %s", - "command.getcape.success": "The current cape of %s is the %s cape.", + "command.getcape.success": "The current cape of %s is the '%s' cape.", "command.namehistory.success": "The past usernames of %s are: %s", "click.open.link": "Click to open the link!", - "click.copy.uuid": "Click to copy the uuid!" + "click.copy.uuid": "Click to copy the UUID!" } \ No newline at end of file