Fix issues with generics with generics

This commit is contained in:
Thinkofdeath 2015-02-25 10:21:23 +00:00
parent 7cfb48c2ed
commit 2c6840ac26

View File

@ -67,7 +67,7 @@ public class VarHelper {
}
while (type.contains( "<" )) {
type = type.substring(0, type.indexOf('<')) + type.substring(type.indexOf('>') + 1);
type = type.substring(0, type.indexOf('<')) + type.substring(type.lastIndexOf('>') + 1);
}
type = type.replace( '.', '_' );