Fix Trick or Treat Chest Logging in Cust Server
This commit is contained in:
parent
e73947b9b1
commit
1f69c204f6
@ -263,9 +263,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 == 5)
|
||||||
trickOrTreatChestsReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[2]);
|
trickOrTreatChestsReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[4]);
|
||||||
else if (transaction.SalesPackageName.split(" ").length == 2)
|
else if (transaction.SalesPackageName.split(" ").length == 4)
|
||||||
trickOrTreatChestsReceived += 1;
|
trickOrTreatChestsReceived += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user