Add check to prevent scoreboards merging.
This commit is contained in:
parent
4929e5dd18
commit
ad1439f431
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user