diff --git a/build.gradle b/build.gradle index 9652ad7..13422b1 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" // Meteor - modImplementation "meteordevelopment:meteor-client:0.5.0-SNAPSHOT" + modImplementation "meteordevelopment:meteor-client:0.5.1-SNAPSHOT" } processResources { diff --git a/gradle.properties b/gradle.properties index d8ed39c..4edae9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,9 +1,9 @@ org.gradle.jvmargs=-Xmx2G # Fabric Properties -minecraft_version=1.19 -yarn_version=1.19+build.1 -loader_version=0.14.7 +minecraft_version=1.19.2 +yarn_version=1.19.2+build.1 +loader_version=0.14.9 # Mod Properties diff --git a/src/main/java/widecat/meteorcrashaddon/modules/MessageLagger.java b/src/main/java/widecat/meteorcrashaddon/modules/MessageLagger.java index 6f17104..6355213 100644 --- a/src/main/java/widecat/meteorcrashaddon/modules/MessageLagger.java +++ b/src/main/java/widecat/meteorcrashaddon/modules/MessageLagger.java @@ -100,7 +100,7 @@ private void onGameLeft(GameLeftEvent event) { private void sendLagMessage() { String message = generateLagMessage(); - mc.player.sendChatMessage(message); + mc.player.sendChatMessage(message, null); } private void sendLagWhisper() { @@ -108,7 +108,7 @@ private void sendLagWhisper() { PlayerEntity player = players.get(new Random().nextInt(players.size())); String message = generateLagMessage(); - mc.player.sendChatMessage("/msg " + player.getGameProfile().getName() + " " + message); + mc.player.sendChatMessage("/msg " + player.getGameProfile().getName() + " " + message, null); } private String generateLagMessage() {