Skip to content

Commit

Permalink
Improve texts
Browse files Browse the repository at this point in the history
  • Loading branch information
leaftail1880 committed Jan 7, 2025
1 parent 61d279c commit aba64fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/rpg/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { MinimapNpc, resetMinimapNpcPosition, setMinimapEnabled, setMinimapNpcPo
export class Menu {
static settings: [string, string] = ['Меню\n§7Разные настройки интерфейсов и меню в игре', 'menu']

static createItem(typeId: string = Items.Menu, name = '§b§lМеню\n§r§f(use)') {
static createItem(typeId: string = Items.Menu, name?: string) {
if (!ItemTypes.get(typeId)) throw new TypeError('Unknown item type: ' + typeId)
const item = new ItemStack(typeId).setInfo(
name,
Expand Down

0 comments on commit aba64fe

Please sign in to comment.