Fix for mysql issue.

This commit is contained in:
Brianna O'Keefe 2019-03-28 11:51:47 -04:00
parent 06543dc056
commit 5625ffaa14

View File

@ -107,7 +107,7 @@ public class StorageMysql extends Storage {
|| to.getValue().length != last.getValue().length)
continue;
toSave.remove(to.getKey());
for (int i = 0; i < to.getValue().length; i ++) {
for (int i = 0; i < to.getValue().length - 1; i ++) {
if (!to.getValue()[i].asObject().toString()
.equals(last.getValue()[i].asObject().toString())) {
//Update