Fix St Patricks Chest info
This commit is contained in:
parent
a0764443a8
commit
5349f53bfe
@ -324,9 +324,9 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
||||
{
|
||||
if (transaction.Coins == 0 && transaction.Gems == 0)
|
||||
{
|
||||
if (transaction.SalesPackageName.split(" ").length == 3)
|
||||
stPatricksChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[2]);
|
||||
else if (transaction.SalesPackageName.split(" ").length == 2)
|
||||
if (transaction.SalesPackageName.split(" ").length == 4)
|
||||
stPatricksChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[3]);
|
||||
else if (transaction.SalesPackageName.split(" ").length == 3)
|
||||
stPatricksChestReceived += 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user