From da1abadd8aa14df54869ff59624fb38480e99f0f Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 17 Feb 2022 23:52:27 +0100 Subject: [PATCH] Fix a woops in reflect util class Type --- Paper/src/main/java/fr/pandacube/lib/paper/reflect/Type.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Paper/src/main/java/fr/pandacube/lib/paper/reflect/Type.java b/Paper/src/main/java/fr/pandacube/lib/paper/reflect/Type.java index 0d2a3a5..e9e5625 100644 --- a/Paper/src/main/java/fr/pandacube/lib/paper/reflect/Type.java +++ b/Paper/src/main/java/fr/pandacube/lib/paper/reflect/Type.java @@ -174,7 +174,7 @@ public class Type implements Comparable { /* package */ static List toTypeList(List paramsType) { List types = new ArrayList<>(paramsType.size()); - for (int i = 0; i < types.size(); i++) { + for (int i = 0; i < paramsType.size(); i++) { Object param = paramsType.get(i); try { types.add(Type.toType(param));