Skip to content

Commit

Permalink
Utilize Generics better
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Dec 14, 2013
1 parent 6b080fc commit f6356e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizen/objects/aH.java
Expand Up @@ -236,7 +236,7 @@ public Element asElement() {
}


public <T extends dObject> T asType(Class<? extends dObject> clazz) {
public <T extends dObject> T asType(Class<T> clazz) {

dObject arg = ObjectFetcher.getObjectFrom(clazz, value);

Expand Down

0 comments on commit f6356e1

Please sign in to comment.