tame_mob() in an alias, on a Horse
mussonking opened this issue · 3 comments
[21:56:33] [Server thread/ERROR]: �[31mUh oh! You've found an error in CommandHelper. This is an error caused by your code, so you may be able to find a workaround, but is ultimately an error in CommandHelper itself. The line of code that caused the error was this:
�@horse = 98
@player = 'mussonking'
tame_mob(@player, @horse)
�[31mon or around /home/musson/ddservers/servers/server27/plugins/CommandHelper/auto_include.ms:134.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.7.2-R0.3-SNAPSHOT; CommandHelper version: 3.3.1-SNAPSHOT:2612-d98eaac,master. Here's the stacktrace:
�[0mjava.lang.NullPointerException
at com.laytonsmith.core.functions.Minecraft$tame_mob.exec(Minecraft.java:423)
at com.laytonsmith.core.Script.eval(Script.java:332)
at com.laytonsmith.core.Procedure.execute(Procedure.java:191)
at com.laytonsmith.core.Procedure.cexecute(Procedure.java:149)
at com.laytonsmith.core.Script.eval(Script.java:260)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.functions.DataHandling$foreach.execs(DataHandling.java:581)
at com.laytonsmith.core.Script.eval(Script.java:291)
at com.laytonsmith.core.Script.eval(Script.java:301)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1695)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1655)
at com.laytonsmith.core.constructs.CClosure.execute(CClosure.java:144)
at com.laytonsmith.core.functions.Scheduling$set_timeout$1.run(Scheduling.java:337)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:597)
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273)
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:452)
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
Please leave issues on the proper bug tracker. You are also using the function wrong. but still report as it should be a different error then a NPE.
where should I post bugs?
and how am I supposed to use tame_mob() ? I dont see what I am doing wrong
Thanks
http://youtrack.sk89q.com/ for bug reports. Thanks!