修复mixin导致的信息不可见问题
This commit is contained in:
parent
0f004b494e
commit
4a8278d458
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public abstract class ClientPacketListenerMixin {
|
|||
if (passenger != null) {
|
||||
passenger.startRiding(entity, true);
|
||||
|
||||
if (passenger == player && !hasIndirectPassenger) {
|
||||
if (passenger == player || hasIndirectPassenger) {
|
||||
Component component = Component.translatable("mount.onboard", ModKeyMappings.DISMOUNT.getTranslatedKeyMessage());
|
||||
this.minecraft.gui.setOverlayMessage(component, false);
|
||||
this.minecraft.getNarrator().sayNow(component);
|
||||
|
|
Loading…
Add table
Reference in a new issue