Skip to content

Commit 14f2bb1

Browse files
committed
change: Fix fps/coords counter not displaying with hitbox enabled
1 parent b3bdaba commit 14f2bb1

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
val MINECRAFT_VERSION by extra { "1.21.10" }
7-
val NEOFORGE_VERSION by extra { "21.10.47-beta" }
7+
val NEOFORGE_VERSION by extra { "21.10.52-beta" }
88
val FABRIC_LOADER_VERSION by extra { "0.17.3" }
99
val FABRIC_API_VERSION by extra { "0.138.0+1.21.10" }
1010

@@ -15,7 +15,7 @@ val PARCHMENT_VERSION by extra { null }
1515
val MAVEN_GROUP by extra { "me.flashyreese.mods" }
1616
val ARCHIVE_NAME by extra { "sodium-extra" }
1717
val MOD_VERSION by extra { "0.7.1" }
18-
val SODIUM_VERSION by extra { "mc1.21.10-0.7.2" }
18+
val SODIUM_VERSION by extra { "mc1.21.10-0.7.3" }
1919

2020
allprojects {
2121
apply(plugin = "java")

common/src/main/java/me/flashyreese/mods/sodiumextra/client/gui/SodiumExtraGameOptionPages.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ public static OptionPage particle() {
126126
.setBinding((opts, value) -> opts.particleSettings.rainSplash = value, opts -> opts.particleSettings.rainSplash)
127127
.build()
128128
)
129-
// todo:
130-
/*.add(OptionImpl.createBuilder(boolean.class, sodiumExtraOpts)
129+
.add(OptionImpl.createBuilder(boolean.class, sodiumExtraOpts)
131130
.setEnabled(() -> SodiumExtraClientMod.mixinConfig().getOptions().get("mixin.particle").isEnabled())
132131
.setName(parseVanillaString("subtitles.block.generic.break"))
133132
.setTooltip(Component.translatable("sodium-extra.option.block_break.tooltip"))
@@ -142,7 +141,7 @@ public static OptionPage particle() {
142141
.setControl(TickBoxControl::new)
143142
.setBinding((opts, value) -> opts.particleSettings.blockBreaking = value, opts -> opts.particleSettings.blockBreaking)
144143
.build()
145-
)*/
144+
)
146145
.build());
147146

148147
Map<String, List<ResourceLocation>> otherParticles = BuiltInRegistries.PARTICLE_TYPE.keySet().stream()

common/src/main/java/me/flashyreese/mods/sodiumextra/client/gui/SodiumExtraHud.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void onStartTick(Minecraft client) {
5252
}
5353

5454
public void onHudRender(GuiGraphics guiGraphics, DeltaTracker deltaTracker) {
55-
if (!this.client.getDebugOverlay().showDebugScreen() && !this.client.options.hideGui) {
55+
if (!this.client.debugEntries.isF3Visible() && !this.client.options.hideGui) {
5656
SodiumExtraGameOptions.OverlayCorner overlayCorner = SodiumExtraClientMod.options().extraSettings.overlayCorner;
5757
// Calculate starting position based on the overlay corner
5858
int x;

0 commit comments

Comments
 (0)