diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/storage/types/StorageMysql.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/storage/types/StorageMysql.java index 3c25819..93ca11b 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/storage/types/StorageMysql.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/storage/types/StorageMysql.java @@ -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 - 1; i ++) { + for (int i = 0; i < to.getValue().length; i ++) { if (!to.getValue()[i].asObject().toString() .equals(last.getValue()[i].asObject().toString())) { //Update