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

Scoreboard prevents arena from starting / kicks players. #4

Open
Log1x opened this issue Jul 19, 2022 · 0 comments
Open

Scoreboard prevents arena from starting / kicks players. #4

Log1x opened this issue Jul 19, 2022 · 0 comments

Comments

@Log1x
Copy link
Contributor

Log1x commented Jul 19, 2022

I tried fixing this myself but I think the problem lies in SwornAPI. Not 100% sure though.

[18:38:38 INFO]: Log1xx issued server command: /ua join mobs
[18:38:41 ERROR]: [UltimateArena] Encountered an exception while adding Log1xx to arena mobs: java.lang.NullPointerException: Cannot invoke "org.bukkit.scoreboard.Objective.setDisplayName(String)" because "objective" is null
Affected classes:
	net.dmulloy2.ultimatearena.types.CustomScoreboard.update(Line 184) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.types.CustomScoreboard$Builder.build(Line 415) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.ultimatearena.scoreboard.StandardScoreboard.setup(Line 56) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.ultimatearena.scoreboard.StandardScoreboard.<init>(Line 33) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.ultimatearena.types.ArenaPlayer.<init>(Line 111) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.ultimatearena.arenas.Arena.addPlayer(Line 231) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.UltimateArena.addPlayer(Line 933) [UltimateArena.jar]
	net.dmulloy2.ultimatearena.ultimatearena.tasks.ArenaJoinTask.run(Line 45) [UltimateArena.jar]
	org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(Line 101) [paper-1.19.jar]
	org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(Line 483) [paper-1.19.jar]
	java.lang.Thread.run(Line 833)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant