Skip to content

Commit

Permalink
now available for 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
exhq committed Oct 8, 2023
1 parent 2e5aa94 commit 71f1f09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

owo_version=0.11.1+1.20
owo_version=0.11.3+1.20.2
jarvis_version=1.1.2

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.22

# Mod Properties
mod_version=1.0.3
mod_version=1.0.4
maven_group=dev.exhq
archives_base_name=essm

# Dependencies
fabric_version=0.87.0+1.20.1
fabric_version=0.89.3+1.20.2
3 changes: 2 additions & 1 deletion src/main/java/dev/exhq/EchosShittySkyBlockMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents;
import net.minecraft.client.MinecraftClient;
import net.minecraft.scoreboard.Scoreboard;
import net.minecraft.scoreboard.ScoreboardDisplaySlot;
import net.minecraft.scoreboard.ScoreboardPlayerScore;
import net.minecraft.scoreboard.Team;
import net.minecraft.text.Text;
Expand Down Expand Up @@ -51,7 +52,7 @@ public void onInitializeClient() {
var noColor = message.getString().replaceAll("§[a-f0-9]", "");

var scoreboard = MinecraftClient.getInstance().world.getScoreboard();
var activeObjective = scoreboard.getObjectiveForSlot(Scoreboard.SIDEBAR_DISPLAY_SLOT_ID);
var activeObjective = scoreboard.getObjectiveForSlot(ScoreboardDisplaySlot.SIDEBAR);
var actualScoreboardContent = new ArrayList<Text>();
if (activeObjective == null){
return;
Expand Down

0 comments on commit 71f1f09

Please sign in to comment.