diff options
Diffstat (limited to '')
-rw-r--r-- | source/cEnderman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cEnderman.cpp b/source/cEnderman.cpp index c7c785a9f..36982b1e8 100644 --- a/source/cEnderman.cpp +++ b/source/cEnderman.cpp @@ -21,8 +21,8 @@ void cEnderman::Tick(float a_Dt) cMonster::Tick(a_Dt);
//TODO Same as stated in cSkeleton
- if (GetWorld()->GetWorldTime() < (12000 + 1000) ) { //if daylight
- m_EMMetaState = BURNING; // BURN, BABY, BURN! >:D
+ if (GetWorld()->GetWorldTime() < (12000 + 1000) && GetMetaData() != BURNING) { //if daylight
+ SetMetaData(BURNING); // BURN, BABY, BURN! >:D
}
}
|