update exception
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
1 parent
fad68163c2
commit
794a80e4d4
1 file changed
+1
-1
@@ -599,7 +599,7 @@ public class Auxiliary {
|
|||||||
server.getServerMetadata().setDescription(title);
|
server.getServerMetadata().setDescription(title);
|
||||||
return LazyValue.TRUE;
|
return LazyValue.TRUE;
|
||||||
default:
|
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)
|
if (action != Action.CLEAR && lv.size() < 3)
|
||||||
throw new InternalExpressionException("Third argument of 'display_title' must be present except for 'clear' type");
|
throw new InternalExpressionException("Third argument of 'display_title' must be present except for 'clear' type");
|
||||||
|
|||||||
Reference in new issue
Block a user