You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to teach spells to a player through console and the player isn't online it throws an error
[15:24:20 WARN]: Unexpected exception while parsing console command "teach time manginoanime"
org.bukkit.command.CommandException: Unhandled exception executing 'teach time manginoanime' in com.hpspells.core.HPS$HackyCommand(teach)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:634) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:444) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:407) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
at com.hpspells.core.command.Teach.onCommand(Teach.java:57) ~[?:?]
at com.hpspells.core.HPS$HackyCommand.execute(HPS.java:388) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf]
... 7 more
Remedies either:
Message console saying player is not online
Add spells to PSC for the player (If they have played before vs New player)
The text was updated successfully, but these errors were encountered:
jacklin213
changed the title
[1.1.9] Console spell teaching errors out for offline player
[1.12.2] Console spell teaching errors out for offline player
Oct 31, 2018
Changelog:
Issues:
* Fix#76 Teaching offline player no longer throws NPE
* Fix incorrect casing for "harrypotterspell.list.others" permission in
SpellList
Spells:
* Add new spell "Arrow" which fires arrows out of wand
* Add new spell "Duro" which changes the target block into stone
* Expelliarmus:
* Fixed bug where normal sticks were disarmed
* Fixed bug where custom wands would not be disarmed
* Point Me:
* Add missing spell description
HPS Version: 1.1.9 BETA
Spigot Version: 1.12.2 r0.1
If you try to teach spells to a player through console and the player isn't online it throws an error
Remedies either:
The text was updated successfully, but these errors were encountered: