Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #289

Closed
ThunderBeast30 opened this issue Dec 8, 2021 · 1 comment
Closed

[BUG] #289

ThunderBeast30 opened this issue Dec 8, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ThunderBeast30
Copy link

ThunderBeast30 commented Dec 8, 2021

Describe the bug
A clear and concise description of what the bug is.
hey i have added better teams but when i try to do team kick or team ban or team color something like its comes an internal error occured while using this command and i really need to kick one person from my team and its only happening to my team not anyone else team idk how to fix it pls help me
To Reproduce
Steps to reproduce the behaviour:

  1. Run command...

Expected behaviour
i want it to work like when i do /team color gold i want it to update in tab

Screenshots
If applicable, add screenshots to help explain your problem.

Details
Please provide the following details about your server set-up:

  • Spigot version (found by BetterTeams /version):
  • BetterTeams version (found by running /version BetterTeams latest one
    ):

Additional context
Add any other context about the problem here

net.skinsrestorer.shared.exception.UpdateException: Download returned status #302
356 at net.skinsrestorer.bukkit.utils.UpdateDownloaderGithub.download(UpdateDownloaderGithub.java:62) ~[?:?]
357 at net.skinsrestorer.bukkit.utils.UpdateDownloaderGithub.lambda$downloadAsync$0(UpdateDownloaderGithub.java:47) ~[?:?]
358 at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:82) [minecraft_server.jar:3284-Spigot-3892929-0ebef35]
359 at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [minecraft_server.jar:3284-Spigot-3892929-0ebef35]
360 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
361 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
362 at java.lang.Thread.run(Thread.java:831) [?:?]
363 [01:17:39] [Server thread/WARN]: An avaliable team cannot be found, be prepared for a lot of errors. (this should never happen, and should always be reported to booksaw)
364 [01:17:39] [Server thread/WARN]: This catch is merely here to stop the server crashing
365 [01:17:39] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to BetterTeams v4.2.1
366 org.bukkit.event.EventException: null
367 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
368 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
369 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
370 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
371 at net.minecraft.server.players.PlayerList.a(PlayerList.java:276) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
372 at net.minecraft.server.network.LoginListener.a(LoginListener.java:192) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
373 at net.minecraft.server.network.LoginListener.c(LoginListener.java:179) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
374 at net.minecraft.server.network.LoginListener.tick(LoginListener.java:74) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
375 at net.minecraft.network.NetworkManager.a(NetworkManager.java:246) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
376 at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:172) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
377 at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1336) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
378 at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:438) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
379 at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1217) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
380 at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1050) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
381 at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:305) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
382 at java.lang.Thread.run(Thread.java:831) [?:?]
383 Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.scoreboard.Team.addEntry(String)" because the return value of "com.booksaw.betterTeams.Team.getScoreboardTeam(org.bukkit.scoreboard.Scoreboard)" is null
384 at com.booksaw.betterTeams.events.MCTeamManagement.displayBelowName(MCTeamManagement.java:62) ~[?:?]
385 at com.booksaw.betterTeams.events.MCTeamManagement.playerJoinEvent(MCTeamManagement.java:109) ~[?:?]
386 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
387 at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
388 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
389 at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
390 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[minecraft_server.jar:3284-Spigot-3892929-0ebef35]
@ThunderBeast30 ThunderBeast30 added the bug Something isn't working label Dec 8, 2021
Repository owner deleted a comment from Dzyk0s Dec 22, 2021
@booksaw booksaw mentioned this issue Dec 22, 2021
booksaw added a commit that referenced this issue Dec 29, 2021
@booksaw
Copy link
Owner

booksaw commented Dec 29, 2021

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.

@booksaw booksaw closed this as completed Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants