CommandHelper

CommandHelper

46.5k Downloads

New stacktrace for array inc/dec (1536)

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2733 - Reported by opoq

/herp = @Derp = array(1) \n @Derp[0]++

==>

16:51:49 [INFO] CH: Running original command on player opoq ----> /herp
16:51:49 [INFO] An unexpected exception occured during the execution of a script.
16:51:49 [SEVERE] java.lang.Error
16:51:49 [SEVERE] at com.laytonsmith.core.functions.ArrayHandling$array_set.exec(ArrayHandling.java:331)
16:51:49 [SEVERE] at com.laytonsmith.core.functions.Math.doIncrementDecrement(Math.java:465)
16:51:49 [SEVERE] at com.laytonsmith.core.functions.Math.access$000(Math.java:34)
16:51:49 [SEVERE] at com.laytonsmith.core.functions.Math$postinc.execs(Math.java:605)
16:51:49 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:257)
16:51:49 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:265)
16:51:49 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
16:51:49 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
16:51:49 [SEVERE] at com.laytonsmith.core.Script.run(Script.java:165)
16:51:49 [SEVERE] at com.laytonsmith.core.AliasCore.alias(AliasCore.java:137)
16:51:49 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:86)
16:51:49 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:131)
16:51:49 [SEVERE] at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
16:51:49 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:51:49 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
16:51:49 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
16:51:49 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
16:51:49 [SEVERE] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
16:51:49 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
16:51:49 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.handleCommand(PlayerConnection.java:986)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.chat(PlayerConnection.java:911)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.a(PlayerConnection.java:858)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.Packet3Chat.handle(SourceFile:49)
16:51:49 [SEVERE] at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.d(PlayerConnection.java:118)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.ServerConnection.b(SourceFile:37)
16:51:49 [SEVERE] at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:592)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:235)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:481)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:413)
16:51:49 [SEVERE] at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)

commented

Comment by LadyCailin

Fixed.