1
0

Add BurnsInDaylight to Lua API and Monsters.ini (#4295)

* Monster.h: Export SetBurnsInDaylight

This commit also adds BurnsInDaylight to check if the Monster burns in daylight
or not.

Closes https://github.com/cuberite/cuberite/issues/4294

* MonsterConfig.cpp: Add BurnsInDaylight

Closes https://github.com/cuberite/cuberite/issues/4294
This commit is contained in:
Muhammad Kaisar Arkhan
2018-09-25 03:32:47 +07:00
committed by Alexander Harkness
parent ee84197014
commit 73689024f0
6 changed files with 40 additions and 16 deletions

View File

@@ -14,7 +14,6 @@ cZombie::cZombie(bool a_IsVillagerZombie) :
m_IsVillagerZombie(a_IsVillagerZombie),
m_IsConverting(false)
{
SetBurnsInDaylight(true);
}