Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 15:50:14 +01:00
Documented the if statement introduced in the previous commit
Dieser Commit ist enthalten in:
Ursprung
0f81b28630
Commit
50896a24e7
@ -258,8 +258,10 @@ public final class Scoreboard {
|
||||
addScores.add(score.getCachedInfo());
|
||||
}
|
||||
|
||||
// we need this as long as MCPE-143063 hasn't been fixed
|
||||
if (add && score.getUpdateType() != ADD && !objectiveUpdate) {
|
||||
// we need this as long as MCPE-143063 hasn't been fixed.
|
||||
// the checks after 'add' are there to prevent removing scores that
|
||||
// are going to be removed anyway / don't need to be removed
|
||||
if (add && score.getUpdateType() != ADD && !(objectiveUpdate || objectiveAdd)) {
|
||||
removeScores.add(score.getCachedInfo());
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren