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

"add "&2TEXT" to {LIST}" not working #283

Closed
mads03dk opened this issue Dec 7, 2016 · 7 comments
Closed

"add "&2TEXT" to {LIST}" not working #283

mads03dk opened this issue Dec 7, 2016 · 7 comments

Comments

@mads03dk
Copy link

mads03dk commented Dec 7, 2016

I (may) found a bug
[15:58:16]: Mads03DK issued server command: /sk reload main [15:58:16]: #!#! [15:58:16]: #!#! [Skript] Severe Error: [15:58:16]: #!#! Could not load main.sk [15:58:16]: #!#! [15:58:16]: #!#! Stack trace: [15:58:16]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over [15:58:16]: #!#! at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:242) [15:58:16]: #!#! at ch.njol.skript.registrations.Classes.getClassInfos(Classes.java:247) [15:58:16]: #!#! at ch.njol.skript.registrations.Classes.parseSimple(Classes.java:416) [15:58:16]: #!#! at ch.njol.skript.registrations.Classes.parse(Classes.java:451) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:359) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:418) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:408) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1132) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:221) [15:58:16]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176) [15:58:16]: #!#! at ch.njol.skript.lang.Statement.parse(Statement.java:61) [15:58:16]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:754) [15:58:16]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:467) [15:58:16]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:472) [15:58:16]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:271) [15:58:16]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:167) [15:58:16]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [15:58:16]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [15:58:16]: #!#! at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1348) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1183) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [15:58:16]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [15:58:16]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [15:58:16]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [15:58:16]: #!#! at java.lang.Thread.run(Unknown Source) [15:58:16]: #!#! [15:58:16]: #!#! Version Information: [15:58:16]: #!#! Skript: 2.2-dev22d [15:58:16]: #!#! Bukkit: 1.10-R0.1-SNAPSHOT [15:58:16]: #!#! Minecraft: 1.10 [15:58:16]: #!#! Java: 1.8.0_101 (Java HotSpot(TM) 64-Bit Server VM 25.101-b13) [15:58:16]: #!#! OS: Windows Server 2012 R2 amd64 6.3 [15:58:16]: #!#! [15:58:16]: #!#! Running CraftBukkit: false [15:58:16]: #!#! [15:58:16]: #!#! Current node: add "&2Skoven" to {br1-baner::*} (main.sk, line 5) [15:58:16]: #!#! Current item: null [15:58:16]: #!#! [15:58:16]: #!#! Thread: Server thread [15:58:16]: #!#! [15:58:16]: #!#! End of Error. [15:58:16]: #!#!

@Snow-Pyon
Copy link

Snow-Pyon commented Dec 8, 2016

you can't add texts to a single value variable, you added it to a list variable as I can see on the stack trace though. Also, just for be sure, did you use the /reload command?

@mads03dk
Copy link
Author

mads03dk commented Dec 8, 2016

Back in time i used the official skript(2.2). Before i update my server to 1.11 i just want to be sure all the plugins work, so when i installed bensku's fork of skript this does not work any more. No i didnt used the /reload @pyon-pyon

@bensku
Copy link
Member

bensku commented Dec 10, 2016

I'd need to see your command declarations in main.sk to say anything more.

@mads03dk
Copy link
Author

@Snow-Pyon
Copy link

kinda weird, it's working just fine to me. Try using the latest version and if with that version it still won't work try using the dev20b which is the most stable version.

@mads03dk
Copy link
Author

Ill do that 😃

@bensku
Copy link
Member

bensku commented Dec 22, 2016

No response if it worked or not, so I assume it did. Closing.

@bensku bensku closed this as completed Dec 22, 2016
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

3 participants