fix weapon break limit

This commit is contained in:
Naruse
2026-04-29 00:36:17 +08:00
parent 8d6e0d7638
commit 0cf0e3beb4
2 changed files with 13 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ public class CommandGiveAll : ICommands
if (await arg.GetOption('l') is not int level) return;
var detail = arg.GetInt(0);
level = Math.Clamp(level, 1, 80);
level = Math.Clamp(level, 1, 90);
var player = arg.Target!.Player!;
List<GameWeaponInfo> weapons = [];
if (detail == -1)