Normalement si tu remplace par ce script ça devrait faire le taff:
module UI
module Message
module Layout
def show_name_window
return if @name_window && !@name_window.disposed?
wb = current_window_builder
name_y = y + (current_position == :top ? height + default_vertical_margin : (-wb[5] - wb[-1] - default_line_height - default_vertical_margin))
name, color = properties.name.split(',')
text_width = width_computer.normal_width(name)
@name_window = UI::Window.from_metrics(viewport, x, name_y, text_width, default_line_height, skin: current_name_windowskin)
@sub_stack.push_sprite(text = Text.new(0, @name_window, 0, -Text::Util::FOY, 0, default_line_height, properties.name))
text.load_color(color.to_i) if color
@sub_stack.push_sprite(@name_window)
end
end
end
end