- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypePlain Text
Date2017/02/15 19:22:48 UTC-08:00
ByAnthony
Other
Paste

bstest_command:
  type: command
  name: bstest
  description: Test bs.
  script:
    - if 2 > -1:
      - echo bs


[22:18:31 INFO]: +> [Error] Compiling script 'bstest_command.script': 
[22:18:31 INFO]: +> Internal exception! Trace follows: 
[22:18:31 INFO]:    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
[22:18:31 INFO]:      java.util.ArrayList.rangeCheck(ArrayList.java:653)
[22:18:31 INFO]:      java.util.ArrayList.get(ArrayList.java:429)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandEntry.forLine(CommandEntry.java:160)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandScriptSection.getEntries(CommandScriptSection.java:93)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandScriptSection.forSection(CommandScriptSection.java:114)
[22:18:31 INFO]:      com.denizenscript.denizen2core.scripts.CommandScript.init(CommandScript.java:78)
[22:18:31 INFO]:      com.denizenscript.denizen2sponge.spongescripts.GameCommandScript.init(GameCommandScript.java:85)
[22:18:31 INFO]:      com.denizenscript.denizen2core.Denizen2Core.loadSection(Denizen2Core.java:227)
[22:18:31 INFO]:      com.denizenscript.denizen2core.Denizen2Core.loadFile(Denizen2Core.java:245)
[22:18:31 INFO]:      com.denizenscript.denizen2core.Denizen2Core.load(Denizen2Core.java:283)
[22:18:31 INFO]:      com.denizenscript.denizen2core.Denizen2Core.reload(Denizen2Core.java:207)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.commoncommands.ReloadCommand.execute(ReloadCommand.java:49)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandStackEntry.run(CommandStackEntry.java:99)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandQueue.run(CommandQueue.java:106)
[22:18:31 INFO]:      com.denizenscript.denizen2core.commands.CommandQueue.start(CommandQueue.java:60)
[22:18:31 INFO]:      com.denizenscript.denizen2core.Denizen2Core.runString(Denizen2Core.java:322)
[22:18:31 INFO]:      com.denizenscript.denizen2sponge.spongecommands.ExCommand.execute(ExCommand.java:81)
[22:18:31 INFO]:      org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351)
[22:18:31 INFO]:      org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
[22:18:31 INFO]:      org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:295)
[22:18:31 INFO]:      net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083)
[22:18:31 INFO]:      net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(SourceFile:368)
[22:18:31 INFO]:      net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:336)
[22:18:31 INFO]:      net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:562)
[22:18:31 INFO]:      net.minecraft.server.MinecraftServer.run(SourceFile:466)
[22:18:31 INFO]:      java.lang.Thread.run(Thread.java:745)
[22:18:31 INFO]: +> [Error] Null script section for script 'bstest_command', in path 'script'.
[22:18:31 INFO]: +> [Good] Registering command [bstest] to sponge...


RawRaw



Pastes made: 57256