fromgate / WeatherMan

WeatherMan (Minecraft bukkit plugin)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attempt at command "/wth player [player] rain"

JhOnNeY opened this issue · comments

Using "Last stable build (#7), 12 hr ago)" from the athion build

Attemping to use "/wth region [region] clear/rain" commands gives:
[19:57:46 INFO]: [player] issued server command: /wth region ironlands rain
and nothing else (no error), yet nothing visible happens for that region (no weather changes).

and attempting to use "/wth player [player] clear/rain" command gives with no visible changes:
[19:43:48 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'wth' in plugin WeatherMan v1.1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot_server.jar:git-Spigot-7d78b81-f709362]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot_server.jar:git-Spigot-7d78b81-f709362]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1344) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1179) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_112]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_112]
at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot_server.jar:git-Spigot-7d78b81-f709362]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_112]
Caused by: java.lang.NullPointerException
at me.fromgate.weatherman.playerconfig.PlayerConfig.savePlayerData(PlayerConfig.java:232) ~[?:?]
at me.fromgate.weatherman.playerconfig.PlayerConfig.savePlayerData(PlayerConfig.java:222) ~[?:?]
at me.fromgate.weatherman.playerconfig.PlayerConfig.setLastWeather(PlayerConfig.java:97) ~[?:?]
at me.fromgate.weatherman.playerconfig.PlayerConfig.isWeatherChanged(PlayerConfig.java:102) ~[?:?]
at me.fromgate.weatherman.localweather.LocalWeather.setPlayerRain(LocalWeather.java:119) ~[?:?]
at me.fromgate.weatherman.commands.wth.WthPlayer.execute(WthPlayer.java:57) ~[?:?]
at me.fromgate.weatherman.commands.Cmd.executeCommand(Cmd.java:87) ~[?:?]
at me.fromgate.weatherman.commands.Commander.onCommand(Commander.java:101) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot_server.jar:git-Spigot-7d78b81-f709362]
... 15 more