fix #2104
This commit is contained in:
parent
6e8b6488ab
commit
b2135c37b6
2 changed files with 10 additions and 2 deletions
|
@ -65,6 +65,10 @@ public class ActionParameterItemStack implements IActionParameter {
|
|||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return stack.getDisplayName();
|
||||
if (stack != null) {
|
||||
return stack.getDisplayName();
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,6 +61,10 @@ public class TriggerParameterItemStack implements ITriggerParameter {
|
|||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return stack.getDisplayName();
|
||||
if (stack != null) {
|
||||
return stack.getDisplayName();
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue