mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fixes bugs in teavm-maven-plugin
This commit is contained in:
parent
5de1b3877d
commit
1280493717
|
@ -197,8 +197,11 @@ public class BuildJavascriptMojo extends AbstractMojo {
|
|||
for (int i = 0; i < methodAlias.getTypes().length; ++i) {
|
||||
String types = methodAlias.getTypes()[i];
|
||||
if (types != null) {
|
||||
for (String type : types.split(" ")) {
|
||||
entryPoint.withValue(i, type);
|
||||
for (String type : types.split(" +")) {
|
||||
type = type.trim();
|
||||
if (!type.isEmpty()) {
|
||||
entryPoint.withValue(i, type);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user