Skip to content

Commit

Permalink
Create version for 1.20.3 and 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
anastarawneh committed Jan 13, 2024
1 parent 2d8eb0a commit 08a59bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx2G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.24
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.3
# Mod Properties
mod_version=1.9.1
supported_versions=1.20.2
supported_versions=1.20.3,1.20.4
maven_group=me.anastarawneh
archives_base_name=mccinametagmod
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.90.7+1.20.2
fabric_version=0.93.1+1.20.4
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ else if (game == Game.DYNABALL) {
Scoreboard scoreboard = MinecraftClient.getInstance().player.getScoreboard();
ScoreboardObjective obj = scoreboard.getObjectiveForSlot(ScoreboardDisplaySlot.SIDEBAR);
int medals = -1;
for (ScoreboardPlayerScore entry : scoreboard.getAllPlayerScores(obj).stream().toList()) {
Team team = scoreboard.getPlayerTeam(entry.getPlayerName());
for (ScoreboardEntry entry : scoreboard.getScoreboardEntries(obj).stream().toList()) {
Team team = scoreboard.getScoreHolderTeam(entry.owner());
if (!team.getPrefix().getString().contains("Total Unique Medals")) continue;
medals = Integer.parseInt(team.getPrefix()
.getSiblings().get(0).getSiblings().get(0).getSiblings().get(0).getSiblings().get(0).getString().replace(",", ""));
Expand Down

0 comments on commit 08a59bf

Please sign in to comment.