mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-08-02 16:59:14 +08:00
Update FormMain.cs
This commit is contained in:
parent
cfe3771a19
commit
c2d0fcbde4
@ -579,7 +579,7 @@ namespace GrasscutterTools.Forms
|
||||
if (ListWeapons.SelectedIndex >= 0)
|
||||
{
|
||||
// 错误未修复: 无法对应搜索的结果给予武器
|
||||
var id = ListWeapons.SelectedIndex;
|
||||
var id = GameData.Weapons.Ids[ListWeapons.SelectedIndex];
|
||||
if (ChkNewCommand.Checked)
|
||||
SetCommand("/give", $"{id} x{NUDWeaponAmout.Value} lv{NUDWeaponLevel.Value} r{NUDWeaponRefinement.Value}");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user