format for king slime's tools too

This commit is contained in:
ChromaPIE committed 2025-02-15 09:48:38 +08:00
1 parent 79cc7b1dcf
commit d17c91d8cf
1 file changed
+1 -1
@@ -138,7 +138,7 @@ public class KingBlueSlime extends SlimeBase implements IBossDisplayData {
// materials
String name;
if (StatCollector.canTranslate(loc)) name = StatCollector.translateToLocal(loc);
else name = StatCollector.translateToLocal("tool.kingslimeprefix") + " " + tool.getLocalizedToolName();
else name = String.format(StatCollector.translateToLocal("tool.nameformat"), StatCollector.translateToLocal("tool.kingslimeprefix"), tool.getLocalizedToolName());
ItemStack toolStack = ToolBuilder.instance
.buildTool(headStack, handleStack, accessoryStack, extraStack, name);