Anticheat fastbreak (#3411)
Added block hardness checks when breaking blocks.
This commit is contained in:
@@ -441,3 +441,24 @@ void cPawn::StopEveryoneFromTargetingMe()
|
||||
}
|
||||
ASSERT(m_TargetingMe.size() == 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
std::map<cEntityEffect::eType, cEntityEffect *> cPawn::GetEntityEffects()
|
||||
{
|
||||
return m_EntityEffects;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cEntityEffect *cPawn::GetEntityEffect(cEntityEffect::eType a_EffectType)
|
||||
{
|
||||
return m_EntityEffects.at(a_EffectType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user