Skip to content

Commit

Permalink
1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbxte authored Oct 8, 2022
2 parents 5789fe5 + a92af7f commit b82c1d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ private void onGameLeft(GameLeftEvent event) {

private void sendLagMessage() {
String message = generateLagMessage();
mc.player.sendChatMessage(message);
mc.player.sendChatMessage(message, null);
}

private void sendLagWhisper() {
List<AbstractClientPlayerEntity> players = mc.world.getPlayers();
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() {
Expand Down

0 comments on commit b82c1d0

Please sign in to comment.