mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 21:04:43 +01:00
give command bugfix for matz value
This commit is contained in:
@@ -80,7 +80,7 @@ namespace PemukulPaku.GameServer.Commands
|
||||
case "matz":
|
||||
foreach (MaterialDataExcel materialData in MaterialData.GetInstance().All)
|
||||
{
|
||||
player.Equipment.AddMaterial(materialData.Id, (int)value);
|
||||
player.Equipment.AddMaterial(materialData.Id, value == 0 ? 1 : (int)value);
|
||||
}
|
||||
break;
|
||||
case "dress":
|
||||
|
||||
Reference in New Issue
Block a user