dmulloy2 / SwornRPG

The mcMMO alternative!
http://dev.bukkit.org/bukkit-plugins/swornrpg/
GNU General Public License v3.0
6 stars 3 forks source link

Error when getting 20 xp for vote reward #40

Closed PiggyPiglet closed 7 years ago

PiggyPiglet commented 7 years ago

[18:38:09] [Server thread/WARN]: [SwornRPG] Encountered an exception while executing command addxp: java.lang.NullPointerException Affected classes: net.dmulloy2.swornrpg.commands.CmdAddxp.perform(Line 67) [SwornRPG.jar] net.dmulloy2.swornrpg.commands.Command.execute(Line 169) [SwornRPG.jar] net.dmulloy2.swornrpg.commands.Command.onCommand(Line 96) [SwornRPG.jar] org.bukkit.command.PluginCommand.execute(Line 44) [spigot.jar] us.Myles.PWP.FakeSimpleCommandMap.dispatch(Line 95) [PerWorldPlugins.jar] org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(Line 649) [spigot.jar] org.bukkit.Bukkit.dispatchCommand(Line 581) [spigot.jar] io.minimum.minecraft.superbvote.votes.rewards.VoteReward.runCommands(Line 37) [SuperbVote-0.3.3.jar] io.minimum.minecraft.superbvote.votes.SuperbVoteHandler.lambda$onSuperbVote$0(Line 16) [SuperbVote-0.3.3.jar] java.util.ArrayList.forEach(Line 1249) io.minimum.minecraft.superbvote.votes.SuperbVoteHandler.onSuperbVote(Line 16) [SuperbVote-0.3.3.jar] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Line 62) sun.reflect.DelegatingMethodAccessorImpl.invoke(Line 43) java.lang.reflect.Method.invoke(Line 498) us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(Line 120) [PerWorldPlugins.jar] org.bukkit.plugin.RegisteredListener.callEvent(Line 62) [spigot.jar] us.Myles.PWP.TransparentListeners.PWPRegisteredListener.callEvent(Line 30) [PerWorldPlugins.jar] org.bukkit.plugin.SimplePluginManager.fireEvent(Line 502) [spigot.jar] org.bukkit.plugin.SimplePluginManager.callEvent(Line 487) [spigot.jar] io.minimum.minecraft.superbvote.votes.SuperbVoteListener.lambda$processVote$1(Line 79) [SuperbVote-0.3.3.jar] org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(Line 71) [spigot.jar] org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(Line 353) [spigot.jar] java.lang.Thread.run(Line 745)