Bumping version

This commit is contained in:
DarkKronicle committed 2021-11-08 20:12:44 -07:00
1 parent 85a0132865
commit bf5c4f058f
4 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.40
loader_version=0.12.3
mod_version=1.0.1
mod_version=1.0.2
maven_group=io.github.darkkronicle
archives_base_name=AdvancedChatHUD
fabric_api_version=0.41.0+1.17
@@ -43,8 +43,12 @@ public class HudChatMessage {
}
}
}
if (forward) tabs.add(AdvancedChatHud.MAIN_CHAT_TAB);
for (AbstractChatTab tab : tabs) tab.addNewUnread();
if (forward) {
tabs.add(AdvancedChatHud.MAIN_CHAT_TAB);
}
for (AbstractChatTab tab : tabs) {
tab.addNewUnread();
}
}
public HudChatMessage(ChatMessage message, List<AbstractChatTab> tabs) {
@@ -122,11 +122,6 @@ public class HudConfigStorage implements IConfigHandler {
"topPad",
new ConfigInteger(translate("toppad"), 0, 0, 20, translate("info.toppad")));
public static final ConfigStorage.SaveableConfig<ConfigBoolean> SHOW_TABS =
ConfigStorage.SaveableConfig.fromConfig(
"showTabs",
new ConfigBoolean(translate("showtabs"), true, translate("info.showtabs")));
public static final ConfigStorage.SaveableConfig<ConfigOptionList> VISIBILITY =
ConfigStorage.SaveableConfig.fromConfig(
"visibility",
@@ -220,7 +215,6 @@ public class HudConfigStorage implements IConfigHandler {
RIGHT_PAD,
BOTTOM_PAD,
TOP_PAD,
SHOW_TABS,
VISIBILITY,
CHAT_SCALE,
FADE_TIME,
@@ -115,7 +115,9 @@ public abstract class MixinChatHud implements IChatHud {
if (tab == null || !hudMsg.getTabs().contains(tab)) {
return;
}
tab.resetUnread();
if (HudConfigStorage.General.VANILLA_HUD.config.getBooleanValue()) {
tab.resetUnread();
}
int width = MathHelper.floor((double) this.getWidth() / this.getChatScale());