Draylar / battle-towers

Populates the world with large towers filled with monsters and loot.
https://www.curseforge.com/minecraft/mc-mods/draylars-battle-towers
MIT License
7 stars 9 forks source link

Mixin for BossBar only accepts TranslatableText #35

Closed CodedSakura closed 3 years ago

CodedSakura commented 3 years ago

draylar.battletowers.mixin.BossBarHudMixin (battletowers.mixins.json) can cause problems with other mods that use the BossBar, causing the client to crash with the following log:

[00:28:21] [main/FATAL]: Unreported exception thrown!
java.lang.ClassCastException: net.minecraft.text.LiteralText cannot be cast to net.minecraft.text.TranslatableText
at net.minecraft.client.gui.hud.BossBarHud.handler$bgl000$renderCustomBossBar(BossBarHud.java:532) ~[intermediary-1.16.4.jar:?]
Draylar commented 3 years ago

Fixed in 3.3.0-beta, thanks!