Batched building health update packet

This commit is contained in:
Anuken
2022-06-22 18:30:59 -04:00
parent 2de706cc6d
commit 1a98a66f23
11 changed files with 135 additions and 54 deletions
@@ -89,9 +89,7 @@ public class ConstructBlock extends Block{
}
//make sure block indexer knows it's damaged
if(tile.build.damaged()){
indexer.notifyBuildDamaged(tile.build);
}
indexer.notifyHealthChanged(tile.build);
}
//last builder was this local client player, call placed()