Skip to content
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

[BUG] While Connected condition exists in skript #683

Closed
EquipableMC opened this issue Jul 23, 2024 · 2 comments
Closed

[BUG] While Connected condition exists in skript #683

EquipableMC opened this issue Jul 23, 2024 · 2 comments

Comments

@EquipableMC
Copy link

What happened?

I saw while trying to find something else that the OfflinePlayer is Connected condition exists even though it is in Skript? Maybe you could do a check to where it doesn't enable unless the skript version is 2.8.7 or below maybe?

Steps to reproduce

SkriptLang/Skript#6105 ( https://github.com/SkriptLang/Skript/releases )

Expected behavior

be disabled for 2.9

SkBee Version

3.5.7

Server Version

Paper 1.20.6

SkBee Info

[18:45:10 INFO]: --- [SkBee Loading Info] ---
[18:45:10 INFO]: - [NBTAPI] Found Minecraft: 1.20.6! Trying to find NMS support
[18:45:10 INFO]: - [NBTAPI] NMS support 'MC1_20_R4' loaded!
[18:45:10 INFO]: - NBT Elements successfully loaded
[18:45:10 INFO]: - Text Component Elements successfully loaded
[18:45:10 INFO]: - Advancement Elements successfully loaded
[18:45:10 INFO]: - BossBar Elements successfully loaded
[18:45:10 INFO]: - Bound Elements successfully loaded
[18:45:10 INFO]: - Damage Source elements successfully loaded
[18:45:10 INFO]: - Display Entity elements successfully loaded
[18:45:10 INFO]: - Fishing elements successfully loaded
[18:45:10 INFO]: - Game Event Elements successfully loaded
[18:45:10 INFO]: - Particle Elements successfully loaded
[18:45:10 INFO]: - RayTrace elements successfully loaded
[18:45:10 INFO]: - Recipe Elements successfully loaded
[18:45:10 INFO]: - Scoreboard Elements successfully loaded
[18:45:10 INFO]: - Scoreboard Objective Elements successfully loaded
[18:45:10 INFO]: - Statistic Elements successfully loaded
[18:45:10 INFO]: - Structure Elements successfully loaded
[18:45:10 INFO]: - Minecraft Tag elements successfully loaded
[18:45:10 INFO]: - Team Elements successfully loaded
[18:45:10 INFO]: - Tick Manager elements successfully loaded
[18:45:10 INFO]: - Villager Elements successfully loaded
[18:45:10 INFO]: - Virtual Furnace Elements disabled via config
[18:45:10 INFO]: - World Border Elements successfully loaded
[18:45:10 INFO]: - World Creator Elements successfully loaded
[18:45:10 INFO]: - Chunk Generator Elements disabled via config
[18:45:10 INFO]: - Plugin is up to date!
[18:45:10 INFO]: --- [Server Info] ---
[18:45:10 INFO]: Server Version: 1.20.6-148-20f5165 (MC: 1.20.6)
[18:45:10 INFO]: Skript Version: 2.9.0
[18:45:10 INFO]: Skript Addons:
[18:45:10 INFO]: - skript-placeholders v1.6.0
[18:45:10 INFO]: - skript-gui v1.3
[18:45:10 INFO]: - skript-particle v1.3.1
[18:45:10 INFO]: - DiSky v4.17.3
[18:45:10 INFO]: - skript-yaml v1.5
[18:45:10 INFO]: - skript-reflect v2.5.1
[18:45:10 INFO]: - skript-citizens v1.0.0
[18:45:10 INFO]: SkBee Version: 3.5.7
[18:45:10 INFO]: SkBee Website: https://github.com/ShaneBeee/SkBee

Additional Information

I did not know where else to put this.

@EquipableMC
Copy link
Author

If you did disable that condition somewhere, please let me know as well, thanks!

@ShaneBeee
Copy link
Owner

👀

if (Skript.methodExists(OfflinePlayer.class, "isConnected") && !Util.IS_RUNNING_SKRIPT_2_9) {

@ShaneBeee ShaneBeee closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants