From 4388a7f70e1330521f73179bf2a70cb8dbe7c4de Mon Sep 17 00:00:00 2001 From: LCastr0 Date: Sat, 8 Apr 2017 23:17:39 -0300 Subject: [PATCH] Changed lenght (missed one thing) --- .../mineplex/staffServer/customerSupport/CustomerSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/customerSupport/CustomerSupport.java b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/customerSupport/CustomerSupport.java index 17cc91293..9bb7990de 100644 --- a/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/customerSupport/CustomerSupport.java +++ b/Plugins/Mineplex.StaffServer/src/mineplex/staffServer/customerSupport/CustomerSupport.java @@ -336,7 +336,7 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable if (transaction.Coins == 0 && transaction.Gems == 0) { if (transaction.SalesPackageName.split(" ").length == 3) - springChestsReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[3]); + springChestsReceived += Integer.parseInt(transaction.SalesPackageName.split(" ")[2]); else if (transaction.SalesPackageName.split(" ").length == 2) springChestsReceived += 1; }