aboutsummaryrefslogtreecommitdiff
path: root/GuiTest
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2022-05-23 12:49:57 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2022-05-23 12:49:57 +0300
commit2d781ffa61655891fec9c91e8f60214271d01f7f (patch)
treecd9154c027704fd71c1330228490c6373021705d /GuiTest
parent8b44fc8a5a178c16641cecdbb5a6fd0f8e434fcd (diff)
downloadLibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.tar.gz
LibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.tar.bz2
LibGui-2d781ffa61655891fec9c91e8f60214271d01f7f.zip
Update Fabric API
Diffstat (limited to 'GuiTest')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
index 94620af..c396a7f 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
@@ -2,8 +2,8 @@ package io.github.cottonmc.test.client;
import com.mojang.brigadier.Command;
import net.fabricmc.api.ClientModInitializer;
-import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager;
-import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource;
+import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
+import net.fabricmc.fabric.api.client.command.v2.FabricClientCommandSource;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.ingame.HandledScreens;
import net.minecraft.text.Text;
@@ -20,7 +20,7 @@ import io.github.cottonmc.test.TestDescription;
import java.util.function.Function;
-import static net.fabricmc.fabric.api.client.command.v1.ClientCommandManager.literal;
+import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.literal;
public class LibGuiTestClient implements ClientModInitializer {