SamB440 / ForcePack

Spigot/Velocity plugin to aid resource pack deployment and enforcement, among other utilities.
https://fortitude.islandearth.net/category/forcepack
GNU General Public License v3.0
53 stars 21 forks source link

User is null error #55

Closed bobhenl closed 9 months ago

bobhenl commented 9 months ago

Hi, from some reason, I receive this error:

[02:45:44] [Server thread/WARN]: [ForcePack] Task #49448 for ForcePack v1.3.3 generated an exception
java.lang.NullPointerException: Cannot invoke "com.convallyria.forcepack.spigot.libs.pe-api.protocol.player.User.getChannel()" because "user" is null
    at com.convallyria.forcepack.spigot.util.ProtocolUtil.sendPacketBypassingVia(ProtocolUtil.java:26) ~[ForcePack-1.3.3.jar:?]
    at com.convallyria.forcepack.spigot.resourcepack.SpigotResourcePack.runSetResourcePack(SpigotResourcePack.java:52) ~[ForcePack-1.3.3.jar:?]
    at com.convallyria.forcepack.spigot.resourcepack.SpigotResourcePack.setResourcePack(SpigotResourcePack.java:36) ~[ForcePack-1.3.3.jar:?]
    at com.convallyria.forcepack.spigot.listener.ResourcePackListener.lambda$runSetPackTask$7(ResourcePackListener.java:251) ~[ForcePack-1.3.3.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1506) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1420) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2062]
    at java.lang.Thread.run(Thread.java:840) ~[?:?]

can it be fixed, please?