non-suppressable blocks shouldn't be heal suppressed (#7019)

This commit is contained in:
MEEPofFaith
2022-06-15 04:34:58 -07:00
committed by GitHub
parent bdb199c5e7
commit d3f2fffa03

View File

@@ -397,7 +397,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
} }
public boolean isHealSuppressed(){ public boolean isHealSuppressed(){
return Time.time <= healSuppressionTime; return block.suppressable && Time.time <= healSuppressionTime;
} }
public void recentlyHealed(){ public void recentlyHealed(){