Stacktrace with set_armor_color()
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2806 - Reported by Hekta
set_armor_color('Hekta', 0, {0, 0, 2555})
on or around E:\Documents\Desktop\afaire\serv\bukkit\tests\plugins\CommandHelper\aliases.msa:1.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.6.2-R1.0; CommandHelper version: 3.3.1-SNAPSHOT:2390-a79107a,master. Here's the stacktrace:
java.lang.IllegalArgumentException: Blue is not between 0-255: 2555
at org.apache.commons.lang.Validate.isTrue(Validate.java:103)
at org.bukkit.Color.<init>(Color.java:161)
at org.bukkit.Color.fromRGB(Color.java:118)
at com.laytonsmith.abstraction.bukkit.BukkitConvertor.GetColor(BukkitConvertor.java:452)
at com.laytonsmith.core.ObjectGenerator.color(ObjectGenerator.java:577)
at com.laytonsmith.core.functions.ItemMeta$set_armor_color.exec(ItemMeta.java:305)
at com.laytonsmith.core.Script.eval(Script.java:300)
at com.laytonsmith.core.Script.seval(Script.java:210)
at com.laytonsmith.core.functions.Meta$eval.execs(Meta.java:420)
at com.laytonsmith.core.Script.eval(Script.java:256)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
at com.laytonsmith.core.Script.run(Script.java:164)
at com.laytonsmith.core.AliasCore.alias(AliasCore.java:142)
at com.laytonsmith.commandhelper.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:41)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:258)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)```
Comment by LadyCailin
This is probably fixed now, though I haven't tested it. Can someone try it out for me?