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