Minecraft scoreboard score is displayed multiple times?

Sh
1

I'm currently programming a scoreboard.

Among other things, the coins are to be updated there, but when updating 2 values are displayed:

screenshots:

Code: Main: https://hastebin.com/...emiqe.java

JoinListener: https://hastebin.com/...ecade.java

updateSB: https://hastebin.com/...egete.java

Ingame: https://workupload.com/file/aKxMBFdQ

Li

Think because they are set twice in updatesb and joinlistener.

Sorry if I could not help

Gaming PC config? cu cutenimble