
set_world_time() broken on 1.6 (1536)
LadyCailinBot opened this issue ยท 3 comments
CMDHELPER-2738 - Reported by opoq
Assuming /run $ = eval($)
12:10:30 [INFO] CH: Running original command on player opoq ----> /run set_world_time(morning)
12:10:30 [INFO] An unexpected exception occured during the execution of a script.
12:10:30 [SEVERE] java.lang.ExceptionInInitializerError
12:10:30 [SEVERE] at com.laytonsmith.core.functions.World$set_world_time.exec(World.java:368)
12:10:30 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:301)
12:10:30 [SEVERE] at com.laytonsmith.core.Script.seval(Script.java:211)
12:10:30 [SEVERE] at com.laytonsmith.core.functions.Meta$eval.execs(Meta.java:396)
12:10:30 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:257)
12:10:30 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
12:10:30 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
12:10:30 [SEVERE] at com.laytonsmith.core.Script.run(Script.java:165)
12:10:30 [SEVERE] at com.laytonsmith.core.AliasCore.alias(AliasCore.java:137)
12:10:30 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:86)
12:10:30 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:131)
12:10:30 [SEVERE] at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
12:10:30 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12:10:30 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:616)
12:10:30 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
12:10:30 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
12:10:30 [SEVERE] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
12:10:30 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
12:10:30 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.handleCommand(PlayerConnection.java:986)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.chat(PlayerConnection.java:911)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.a(PlayerConnection.java:858)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.Packet3Chat.handle(SourceFile:49)
12:10:30 [SEVERE] at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.PlayerConnection.d(PlayerConnection.java:118)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.ServerConnection.b(SourceFile:37)
12:10:30 [SEVERE] at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:592)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:235)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:481)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:413)
12:10:30 [SEVERE] at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)
12:10:30 [SEVERE] Caused by: java.lang.NullPointerException
12:10:30 [SEVERE] at java.util.Properties$LineReader.readLine(Properties.java:435)
12:10:30 [SEVERE] at java.util.Properties.load0(Properties.java:354)
12:10:30 [SEVERE] at java.util.Properties.load(Properties.java:342)
12:10:30 [SEVERE] at com.laytonsmith.core.functions.World.(World.java:301)
12:10:30 [SEVERE] ... 32 more
Comment by jb_aero
Cannot reproduce. Does this still occur on lastest versions?
Comment by ryan_the_leach
It may be a spigot issue, I'm also unable to reproduce on:
CraftBukkit version git-Bukkit-1.5.2-R1.0-27-gdc25312-b2815jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
CommandHelper version 1597-724c3e4
It may be a CommandHelper/Spigot issue.