Error using /gods sethome command #70


  • Defect
  • Accepted
Open
  • _ForgeUser6904895 created this issue Sep 8, 2012

    What steps will reproduce the problem?
    1. Players are all given gods.*
    2. A priest or non priest does /gods sethome

    What is the expected output? What do you see instead?
    It doesn't set home and throws an error in console

    What version of the product are you using?
    0.5.1

    Do you have an error log of what happened?

    12:25:33 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gods' in plugin Gods v0.5.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:880)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
            at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
            at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
            at net.minecraft.server.ServerConnection.b(SourceFile:35)
            at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NullPointerException
            at com.dogonfire.gods.Commands.CommandSetHome(Commands.java:954)
            at com.dogonfire.gods.Commands.onCommand(Commands.java:301)
            at com.dogonfire.gods.Gods.onCommand(Gods.java:539)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 16 more

    Please provide any additional information below.
    - Also it would be nice if only the priest can use the /gods sethome command once its working!

  • _ForgeUser6904895 added the tags New Defect Sep 8, 2012
  • Forge_User_09714816 posted a comment Sep 8, 2012

    This is caused by using /g sethome when NOT using Holy Lands.
    I will seperate the /g sethome command from Holy Land module in the next version.

  • Forge_User_09714816 removed a tag New Sep 8, 2012
  • Forge_User_09714816 added a tag Accepted Sep 8, 2012

To post a comment, please login or register a new account.