Skip to content

Scoreboard does not work when voting in 1.16.1 #6

@Danifoxe

Description

@Danifoxe

What behaviour is expected:

Allowing voting, and Scoreboard time.

What behaviour is observed:

We cant vote, and scoreboard is missing

Steps/models to reproduce:

Try to do /vote day or /vote night

Paper build number:

Paper git-paper-27. Mc: 1.16.1

Anything else:

Console, when do voting:

01.07 09:19:50 [Server] INFO luispro435412 issued server command: /timevote day
01.07 09:19:50 [Server] ERROR null
01.07 09:19:50 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'timevote' in plugin TimeVote v1.42
01.07 09:19:50 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:792) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1908) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1719) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1136) ~[patched_1.16.1.jar:git-Paper-27] 01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1129) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1203) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
01.07 09:19:50 [Server] INFO Caused by: java.lang.NullPointerException
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.ScoreboardObjective.g(SourceFile:46) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.ScoreboardObjective.<init>(SourceFile:24) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at net.minecraft.server.v1_16_R1.Scoreboard.registerObjective(SourceFile:57) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.scoreboard.CraftScoreboard.registerNewObjective(CraftScoreboard.java:48) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.scoreboard.CraftScoreboard.registerNewObjective(CraftScoreboard.java:34) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at org.bukkit.craftbukkit.v1_16_R1.scoreboard.CraftScoreboard.registerNewObjective(CraftScoreboard.java:20) ~[patched_1.16.1.jar:git-Paper-27]
01.07 09:19:50 [Server] INFO at me.F_o_F_1092.TimeVote.TimeVote.registerScoreboard(TimeVote.java:558) ~[?:?] 01.07 09:19:50 [Server] INFO at me.F_o_F_1092.TimeVote.TimeVote.registerScoreboard(TimeVote.java:590) ~[?:?]
01.07 09:19:50 [Server] INFO at me.F_o_F_1092.TimeVote.TimeVote.<init>(TimeVote.java:85) ~[?:?]
01.07 09:19:50 [Server] INFO at me.F_o_F_1092.TimeVote.CommandTimeVote.onCommand(CommandTimeVote.java:274) ~[?:?]
01.07 09:19:50 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.1.jar:git-Paper-27]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions