Closed
Description
Skript/Server Version
[09:52:28] [Server thread/INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[09:52:28] [Server thread/INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[09:52:28] [Server thread/INFO]: [Skript] Server Version: git-Paper-794 (MC: 1.16.5)
[09:52:28] [Server thread/INFO]: [Skript] Skript Version: 2.6.2
[09:52:28] [Server thread/INFO]: [Skript] Installed Skript Addons:
[09:52:28] [Server thread/INFO]: [Skript] - skript-yaml v1.4
[09:52:28] [Server thread/INFO]: [Skript] - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[09:52:28] [Server thread/INFO]: [Skript] - reqn v1.3.0-alpha
[09:52:28] [Server thread/INFO]: [Skript] - SkriptJSON v1.0.0
[09:52:28] [Server thread/INFO]: [Skript] Installed dependencies: None
Bug Description
Passing plurals (List) in singular parameter in function does not throw warning, and first element was taken from the plural into the function and proceeds.
Expected Behavior
Throws a warning of not to use list in singular param.
Steps to Reproduce
Code used:
function e(a1: string, a2: boolean, a3: num):
send "%{_a1}% %{_a2}% %{_a3}%" to console
Trigger: e(("String1", "String2"), (true, false), (0, 1))
Errors or Screenshots
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.