Fix tracking of Heroes of GWEN chests
This commit is contained in:
parent
df1c72624c
commit
00c8aea422
@ -422,9 +422,9 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
|||||||
{
|
{
|
||||||
if (transaction.Coins == 0 && transaction.Gems == 0)
|
if (transaction.Coins == 0 && transaction.Gems == 0)
|
||||||
{
|
{
|
||||||
if (transaction.SalesPackageName.split(" ").length == 4)
|
if (transaction.SalesPackageName.split(" ").length == 3)
|
||||||
hogChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[3]);
|
hogChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[2]);
|
||||||
else if (transaction.SalesPackageName.split(" ").length == 3)
|
else if (transaction.SalesPackageName.split(" ").length == 2)
|
||||||
hogChestReceived += 1;
|
hogChestReceived += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user