Skip to content

Commit 92cc597

Browse files
author
EnderKill98
committed
Update to MC 1.21.6
1 parent 9e9c7b3 commit 92cc597

3 files changed

Lines changed: 8 additions & 15 deletions

File tree

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.21.5
8-
yarn_mappings=1.21.5+build.1
9-
loader_version=0.16.10
7+
minecraft_version=1.21.6
8+
yarn_mappings=1.21.6+build.1
9+
loader_version=0.16.14
1010

1111
# Mod Properties
12-
mod_version=1.3.5
12+
mod_version=1.3.6
1313
maven_group=me.enderkill98
1414
archives_base_name=ringmessage
1515

1616
# Dependencies
17-
fabric_version=0.119.5+1.21.5
17+
fabric_version=0.127.0+1.21.6

src/client/java/me/enderkill98/ringmessage/util/ChatUtil.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ public static void sendCommand(MinecraftClient client, String command) {
2626
if(command.length() > 256) command = command.substring(0, 256);
2727
ClientPlayNetworkHandler network = client.getNetworkHandler();
2828
if(network == null) return;
29-
String cmd = command.contains(" ") ? command.split(" ")[0] : command;
30-
if(cmd.equalsIgnoreCase("w") || cmd.equalsIgnoreCase("whisper")
31-
|| cmd.equalsIgnoreCase("msg") || cmd.equalsIgnoreCase("tell")
32-
|| cmd.equalsIgnoreCase("teammsg") || cmd.equalsIgnoreCase("me")) {
33-
network.sendChatCommand(command);
34-
}else {
35-
network.sendCommand(command);
36-
}
29+
network.sendChatCommand(command);
3730
}
3831

3932
}

src/main/resources/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
}
2727
],
2828
"depends": {
29-
"fabricloader": ">=0.16.10",
30-
"minecraft": "~1.21.5",
29+
"fabricloader": ">=0.16.14",
30+
"minecraft": "~1.21.6",
3131
"java": ">=21",
3232
"fabric-api": "*"
3333
}

0 commit comments

Comments
 (0)