Max item amount set too 200

This commit is contained in:
Matthew McConnell 2016-09-28 01:25:35 +01:00
parent f5acc973b1
commit 5dbbcb3678

View File

@ -40,6 +40,8 @@ namespace ExileLootDrop
var parts = input.Split('|');
var table = parts[0];
var count = (parts.Length == 2) ? int.Parse(parts[1]) : 1;
if (count > 200)
count = 200;
try
{
return string.Join("|", LootTable.GetItems(table, count));