Add check to prevent scoreboards merging.

This commit is contained in:
drtshock 2014-10-20 13:16:48 -05:00 committed by t00thpick1
parent 4929e5dd18
commit ad1439f431

View File

@ -54,6 +54,9 @@ public class BufferedObjective {
} }
public void setAllLines(List<String> lines) { public void setAllLines(List<String> lines) {
if(lines.size() != contents.size()) {
contents.clear();
}
for (int i = 0; i < lines.size(); i++) { for (int i = 0; i < lines.size(); i++) {
setLine(lines.size() - i, lines.get(i)); setLine(lines.size() - i, lines.get(i));
} }