diff --git a/src/main/java/to/itsme/itsmyconfig/placeholder/type/ListPlaceholder.java b/src/main/java/to/itsme/itsmyconfig/placeholder/type/ListPlaceholder.java index 1093632..1502168 100644 --- a/src/main/java/to/itsme/itsmyconfig/placeholder/type/ListPlaceholder.java +++ b/src/main/java/to/itsme/itsmyconfig/placeholder/type/ListPlaceholder.java @@ -24,7 +24,7 @@ public String getResult( } final int line = Strings.intOrDefault(args[0], 1) - 1; - if (line > list.size()) { + if (line >= list.size()) { return ""; }