Fixed lenght
This commit is contained in:
parent
de46f2db70
commit
7db5805f16
@ -335,9 +335,9 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
||||
{
|
||||
if (transaction.Coins == 0 && transaction.Gems == 0)
|
||||
{
|
||||
if (transaction.SalesPackageName.split(" ").length == 4)
|
||||
if (transaction.SalesPackageName.split(" ").length == 3)
|
||||
springChestsReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[3]);
|
||||
else if (transaction.SalesPackageName.split(" ").length == 3)
|
||||
else if (transaction.SalesPackageName.split(" ").length == 2)
|
||||
springChestsReceived += 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user