andrei1058 / andrei1058/BedWars1058
Be invisible in the lobby + allow placing blocks in the lobby + still being in a game while being in the lobby. Could not pass event PlayerReJoinEvent to BedWars1058 v25.2
- Langage dominant
- Java
- Étoiles
- 393
- Forks
- 286
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Describe the bug**
I can place blocks on the lobby while being invisible and in a game
**To Reproduce**
1) Join a game
2) /leave
3) /rejoin
4) /leave (and you are invisible + still in the game while being in the lobby + you can place blocks in the lobby) (And you cant /rejoin anymore in that arena)
**Expected behavior**
I must still be in the party, and not able to be in the game while being in lobby and able to place blocks and be able to reconnect to the game an infinite number of times (or a certain number of times via config.uml)
**Screenshots**
**System (please complete the following information):**
- OS: Windows 11
- Server software - Paper
- Server Version - 1.16.5
- Plugin Version 25.2 (latest release)
**Additional context**
This problem still persists on the latest version of Bedwars 25.9.
[15:45:44 WARN]: [PlaceholderAPI] Loaded class com.andrei1058.bedwars.teamselector.teamselector.TeamManager from BedWars1058-TeamSelector v0.7 which is not a depend, softdepend or loadbefore of this plugin.
[15:45:47 INFO]: aqq1 issued server command: /bw start
[15:48:11 INFO]: aqq1 issued server command: /leave
[15:48:15 INFO]: aqq1 issued server command: /rejoin
[15:48:15 ERROR]: Could not pass event PlayerReJoinEvent to BedWars1058 v25.2
java.lang.NullPointerException: null
at com.andrei1058.bedwars.sidebar.BwTabList.getCreateTeamTabOrderPrefix(BwTabList.java:409) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwTabList.getPlayerTabIdentifierAliveInTeam(BwTabList.java:463) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwTabList.giveUpdateTabFormat(BwTabList.java:347) ~[?:?]
at com.andrei1058.bedwars.sidebar.BwSidebar.giveUpdateTabFormat(BwSidebar.java:242) ~[?:?]
at com.andrei1058.bedwars.api.sidebar.ISidebar.giveUpdateTabFormat(ISidebar.java:62) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.lambda$handleReJoin$14(SidebarService.java:313) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1337) ~[?:?]
at com.andrei1058.bedwars.sidebar.SidebarService.handleReJoin(SidebarService.java:311) ~[?:?]
at com.andrei1058.bedwars.sidebar.ScoreboardListener.reJoin(ScoreboardListener.java:82) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor397.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-794]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-794]
at com.andrei1058.bedwars.arena.Arena.reJoin(Arena.java:1136) ~[?:?]
at com.andrei1058.bedwars.arena.ReJoin.reJoin(ReJoin.java:157) ~[?:?]
at com.andrei1058.bedwars.commands.rejoin.RejoinCommand.execute(RejoinCommand.java:69) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:826) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2185) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2000) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1953) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:49) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:7) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:35) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1271) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1264) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1225) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1139) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Thread.java:834) [?:?]
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.