diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-09-17 00:01:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 00:01:20 +0200 |
commit | 53549a1a4ce320c1e3f449165c290c74d3de54d4 (patch) | |
tree | 5f7d6cda28281d381bbecf7cb0f3b820057000b4 /src/Entities/Pawn.cpp | |
parent | Fixed doors not breakable by piston (#4869) (diff) | |
download | cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.gz cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.bz2 cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.lz cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.xz cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.tar.zst cuberite-53549a1a4ce320c1e3f449165c290c74d3de54d4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Pawn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp index b872cdfac..550d86e35 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -470,7 +470,7 @@ void cPawn::StopEveryoneFromTargetingMe() -std::map<cEntityEffect::eType, cEntityEffect *> cPawn::GetEntityEffects() +std::map<cEntityEffect::eType, cEntityEffect *> cPawn::GetEntityEffects() const { std::map<cEntityEffect::eType, cEntityEffect *> Effects; for (auto & Effect : m_EntityEffects) @@ -484,7 +484,7 @@ std::map<cEntityEffect::eType, cEntityEffect *> cPawn::GetEntityEffects() -cEntityEffect * cPawn::GetEntityEffect(cEntityEffect::eType a_EffectType) +cEntityEffect * cPawn::GetEntityEffect(cEntityEffect::eType a_EffectType) const { auto itr = m_EntityEffects.find(a_EffectType); return (itr != m_EntityEffects.end()) ? itr->second.get() : nullptr; |