1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-12 21:40:27 +03:00

Only draw status for player's team blocks

This commit is contained in:
Anuken 2021-06-30 19:09:48 -04:00
parent 4dcac119d8
commit 9c29706297

View File

@ -339,7 +339,7 @@ public class BlockRenderer{
Draw.z(Layer.block);
}
if(renderer.drawStatus && block.consumes.any()){
if(entity.team == player.team() && renderer.drawStatus && block.consumes.any()){
entity.drawStatus();
}
}