Skip to content
This repository was archived by the owner on Feb 28, 2021. It is now read-only.

Commit 4d91b31

Browse files
committed
19w05a
1 parent aff95d3 commit 4d91b31

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ targetCompatibility = 1.8
99

1010
archivesBaseName = "client-commands"
1111
group = "io.github.cottonmc"
12-
version = "0.1.0+19w03c-SNAPSHOT"
12+
version = "0.1.0+19w05a-SNAPSHOT"
1313

1414
minecraft {
1515
}
1616

1717
dependencies {
18-
minecraft "com.mojang:minecraft:19w03c"
19-
mappings "net.fabricmc:yarn:19w03c.1"
20-
modCompile "net.fabricmc:fabric-loader:0.3.3.98"
18+
minecraft "com.mojang:minecraft:19w05a"
19+
mappings "net.fabricmc:yarn:19w05a.9"
20+
modCompile "net.fabricmc:fabric-loader:0.3.5.106"
2121

2222
// Fabric API. This is technically optional, but you probably want it anyway.
23-
modCompile "net.fabricmc:fabric:0.1.4.77"
23+
modCompile "net.fabricmc:fabric:0.1.5.88"
2424
}
2525

2626
// Load private.properties

src/main/java/io/github/cottonmc/clientcommands/mixin/NetworkHandlerMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.mojang.brigadier.CommandDispatcher;
55
import io.github.cottonmc.clientcommands.ClientCommands;
66
import net.minecraft.client.MinecraftClient;
7-
import net.minecraft.client.gui.Gui;
7+
import net.minecraft.client.gui.Screen;
88
import net.minecraft.client.network.ClientPlayNetworkHandler;
99
import net.minecraft.client.network.packet.CommandTreeClientPacket;
1010
import net.minecraft.network.ClientConnection;
@@ -25,7 +25,7 @@ private void onCommandTree(CommandTreeClientPacket packet, CallbackInfo info) {
2525
}
2626

2727
@Inject(method = "<init>", at = @At("RETURN"))
28-
private void onConstruct(MinecraftClient mc, Gui gui, ClientConnection cc, GameProfile gp, CallbackInfo info) {
28+
private void onConstruct(MinecraftClient mc, Screen screen, ClientConnection cc, GameProfile gp, CallbackInfo info) {
2929
addCommands();
3030
}
3131

0 commit comments

Comments
 (0)