and clear some space :p
This commit is contained in:
parent
d66e7d9522
commit
c78fe148d3
@ -165,6 +165,7 @@ public abstract class ServerPlayerMixin extends PlayerMixin implements ServerPla
|
||||
@Shadow(remap = false) private Component tabListDisplayName;
|
||||
@Shadow public abstract void resetFallDistance();
|
||||
@Shadow public abstract void shadow$nextContainerCounter();
|
||||
@Shadow public abstract void initMenu(AbstractContainerMenu p_143400_);
|
||||
// @formatter:on
|
||||
|
||||
public String displayName;
|
||||
@ -722,6 +723,7 @@ public abstract class ServerPlayerMixin extends PlayerMixin implements ServerPla
|
||||
}
|
||||
this.connection.send(new ClientboundHorseScreenOpenPacket(this.containerCounter, iinventory.getContainerSize(), entityhorseabstract.getId()));
|
||||
this.containerMenu = container;
|
||||
this.initMenu(this.containerMenu);
|
||||
net.minecraftforge.common.MinecraftForge.EVENT_BUS.post(new net.minecraftforge.event.entity.player.PlayerContainerEvent.Open((ServerPlayer) (Object) this, this.containerMenu));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user