-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn using date() #2345
Comments
Did you even read the warning? Just use date(1970, 1 and 1) |
The issue also happens when using any function (from Skript or Java with skript-mirror). |
@HYPExMon5ter For the record, I'm following the given example format. https://github.com/SkriptLang/Skript/blame/19a2fa2a1ba1ea07c5382cd158cfb9ac0d5a1810/src/main/java/ch/njol/skript/classes/data/DefaultFunctions.java#L369 |
Yeah that needs to be updated, but, the code I sent should eliminate that warning while still having the same outcome, I haven’t tested it though |
Using 'and' for function parameters is not intentional. |
Description
When using the skript date() function, a warn for
List is missing 'and' or 'or', defaulting to 'and'
is thrown in the consoleSteps to Reproduce
Expected Behavior
For the data inside the date() function call to not be treated as a list
Errors / Screenshots
Date works properly, just that it throws an un-necessary warn
Server Information
Additional Context
The text was updated successfully, but these errors were encountered: