MyEssentials / MyTown

A continuation of alphaest's MyTown mod for minecraft.
6 stars 4 forks source link

Creation of new town - MyTown-1.6.1.16-BETA #74

Open Landrash opened 10 years ago

Landrash commented 10 years ago

Returned on creation of new town. TPPI 1.0.4 mcpc+/cauldron MyTown-1.6.1.16-BETA PermissionsEX

Everything functions perfectly if town is created by a Admin and chunks are claimed after.

java.lang.NullPointerException
    at mytown.entities.Town.assertNewTownParams(Town.java:145)
    at mytown.cmd.sub.nonresident.CmdTownNew.process(CmdTownNew.java:51)
    at mytown.cmd.CmdMyTown.func_71515_b(CmdMyTown.java:136)
    at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:93)
    at org.bukkit.craftbukkit.v1_6_R3.command.CraftSimpleCommandMap.dispatch(CraftSimpleCommandMap.java:53)
    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchVanillaCommand(CraftServer.java:549)
    at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1411)
    at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1269)
    at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1201)
    at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
    at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:463)
    at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
    at net.minecraft.network.NetworkListenThread.func_71747_b_net_minecraft_network_NetworkListenThread_networkTick_p0(NetworkListenThread.java:54)
    at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java)
    at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:418)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:294)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:183)
    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)