use of com.almuradev.almura.feature.membership.client.gui.MembershipAppliedGui in project Almura by AlmuraDev.
the class ClientboundMembershipSuccessPacketHandler method handleMessage.
@Override
public void handleMessage(ClientboundMembershipSuccessPacket message, RemoteConnection connection, Platform.Type side) {
if (side.isClient()) {
final Minecraft client = Minecraft.getMinecraft();
if (PacketUtil.checkThreadAndEnqueue(client, message, this, connection, side)) {
final EntityPlayerSP player = client.player;
new MembershipAppliedGui(null, message.membership).display();
}
}
}
Aggregations