Fix BoardUtil cleaning other objectives in same scoreboard.
This commit is contained in:
parent
eb05d587f4
commit
bd01a47a91
@ -524,6 +524,7 @@ public class BoardUtil extends Engine
|
|||||||
for (String key : board.getEntries())
|
for (String key : board.getEntries())
|
||||||
{
|
{
|
||||||
if (entries.containsKey(key)) continue;
|
if (entries.containsKey(key)) continue;
|
||||||
|
if (getObjectiveValue(objective, key) == 0) continue;
|
||||||
board.resetScores(key);
|
board.resetScores(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user