SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.06k stars 368 forks source link

Warning from EvtSkript.java cannot be suppressed (hardcoded warning) #6995

Open Fiopon opened 3 weeks ago

Fiopon commented 3 weeks ago

Skript/Server Version

[21:04:02 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[21:04:02 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[21:04:02 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[21:04:02 INFO]: [Skript] Server Version: 1.21.1-40-2fdb2e9 (MC: 1.21.1)
[21:04:02 INFO]: [Skript] Skript Version: 2.9.1 (skriptlang-github)
[21:04:02 INFO]: [Skript] Installed Skript Addons: 
[21:04:02 INFO]: [Skript]  - Skuishy v2.7 (https://aabss.cc)
[21:04:02 INFO]: [Skript]  - SkBee v3.6.1 (https://github.com/ShaneBeee/SkBee)
[21:04:02 INFO]: [Skript]  - PoaSkRewritev2 v4.7.3 (https://github.com/Ekpoa/PoaSkRewritev2)
[21:04:02 INFO]: [Skript] Installed dependencies: 
[21:04:02 INFO]: [Skript]  - WorldGuard v7.0.11-beta1+a801a9d

Bug Description

The warning from EvtSkript.java cannot be suppressed as it is a hardcoded warning.

Expected Behavior

It should be suppressable

Steps to Reproduce

Use a start/stop event which causes the warning to pop up Find a way to try and suppress the warning in on load event Fail, as it is not a suppressible type warning

Errors or Screenshots

No response

Other

No response

Agreement

erenkarakal commented 3 weeks ago

why would you want to suppress that, just use the correct syntax so it doesnt pop up