mirror of https://github.com/FabricMC/yarn.git
parent
2d6eda19e7
commit
2a56056b5d
|
@ -288,7 +288,7 @@ public class MethodBuilder {
|
|||
}
|
||||
|
||||
private void addExceptions() {
|
||||
if (signature != null) {
|
||||
if (signature != null && !signature.thrown.isEmpty()) {
|
||||
for (TypeName each : signature.thrown) {
|
||||
builder.addException(each);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue