Skip to content

Commit

Permalink
Address reviews
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Miller <[email protected]>
  • Loading branch information
Pikachu920 and APickledWalrus committed Apr 11, 2024
1 parent 5ac0349 commit 083e060
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/main/java/ch/njol/skript/util/ClassInfoReference.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,13 @@ public boolean init(Expression<?>[] expressions, int matchedPattern, Kleenean is
private ClassInfo<?> classInfo;

public ClassInfoReference(ClassInfo<?> classInfo) {
this.plural = Kleenean.UNKNOWN;
this.classInfo = classInfo;
this(classInfo, Kleenean.UNKNOWN);
}

public ClassInfoReference(ClassInfo<?> classInfo, Kleenean plural) {
this.plural = plural;
this.classInfo = classInfo;
}
public ClassInfoReference(ClassInfo<?> classInfo, Kleenean plural) {
this.classInfo = classInfo;
this.plural = plural;
}

/**
* @return A Kleenean representing whether this classinfo reference was plural. Kleeanan.UNKNOWN represents
Expand Down

0 comments on commit 083e060

Please sign in to comment.