Skip to content

Commit

Permalink
Max item amount set too 200
Browse files Browse the repository at this point in the history
  • Loading branch information
maca134 committed Sep 28, 2016
1 parent f5acc97 commit 5dbbcb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ExileLootDrop/Loot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public static string Invoke(string input)
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));
Expand Down

0 comments on commit 5dbbcb3

Please sign in to comment.