Do not update placeholders if there's no one viewing them

This commit is contained in:
filoghost 2021-12-19 17:03:24 +01:00
parent dccafdc839
commit e25c2aca40
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public abstract class LineTracker<T extends Viewer> {
sendChangesPackets = true;
}
if (updatePlaceholders()) {
if (hasViewers() && updatePlaceholders()) {
sendChangesPackets = true;
}