Skip to content

Commit

Permalink
Capitalize Side in Hover Info
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Dec 28, 2024
1 parent 3f0a5b3 commit 6fa1358
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import net.minecraft.util.math.Vec3d;
import net.minecraft.util.text.TextFormatting;

import org.apache.commons.lang3.StringUtils;
import org.spongepowered.asm.mixin.*;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
Expand Down Expand Up @@ -129,7 +130,7 @@ private void provideChannelInfo(P2PInfo info, CallbackInfo ci) {
hover.add(TextFormatting.YELLOW + LabsTranslate.translate("gui.advanced_memory_card.pos",
info.getPos().getX(), info.getPos().getY(), info.getPos().getZ()));
hover.add(TextFormatting.YELLOW + LabsTranslate.translate("gui.advanced_memory_card.side",
info.getFacing().getName()));
StringUtils.capitalize(info.getFacing().getName2())));
hover.add(TextFormatting.YELLOW + LabsTranslate.translate("gui.advanced_memory_card.dim", info.getDim()));

// ME Tunnel Specific
Expand Down

0 comments on commit 6fa1358

Please sign in to comment.