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.Coins == 0 && transaction.Gems == 0)
|
||||||
{
|
{
|
||||||
if (transaction.SalesPackageName.split(" ").length == 3)
|
if (transaction.SalesPackageName.split(" ").length == 4)
|
||||||
stPatricksChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[2]);
|
stPatricksChestReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[3]);
|
||||||
else if (transaction.SalesPackageName.split(" ").length == 2)
|
else if (transaction.SalesPackageName.split(" ").length == 3)
|
||||||
stPatricksChestReceived += 1;
|
stPatricksChestReceived += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user