update exception

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
replaceitemandgnembon authored and GitHub committed 2021-04-17 11:42:02 +02:00
1 parent fad68163c2
commit 794a80e4d4
1 file changed
+1 -1
@@ -599,7 +599,7 @@ public class Auxiliary {
server.getServerMetadata().setDescription(title);
return LazyValue.TRUE;
default:
throw new InternalExpressionException("'display_title' requires 'title', 'subtitle', 'actionbar', 'clear', 'header' or 'motd' as second argument");
throw new InternalExpressionException("'display_title' requires 'title', 'subtitle', 'actionbar', 'player_list' or 'clear' as second argument");
}
if (action != Action.CLEAR && lv.size() < 3)
throw new InternalExpressionException("Third argument of 'display_title' must be present except for 'clear' type");