-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
https://getbukkit.org/get/8fcc6d1ad097267ea7fb0549540f44c9
Processor Intel(R) Pentium(R) Gold 8505 1.20 GHz
RAM installed 8,00 Go (7,64 Go usable)
Exploitation System 64 bits, processor x64
-
1.20.4
-
Bukkit.scoreboard.score
-
Yes
I'm in 1.20.4 manipulating scoreboard:
```java
score score = Bukkit.getScoreboardManager().getMainScoreboard().getObjective("OpNum0").getScore("MommyPlease_UwU");
score.setScore(200);
int entityScore = score.getScore();
if (score.isScoreSet()){Bukkit.broadcastMessage("scoreboard");}
```
this code:
get the right score
changes the score to 200
entityScore is equal to 0
and nothing is in the chat (so score is not considered to set)
I may be wrong and this is an issue from my, but I really don't see what I do wrong.