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:
committed by
Alexander Harkness
parent
ee84197014
commit
73689024f0
@@ -13,7 +13,6 @@ cSkeleton::cSkeleton(bool IsWither) :
|
||||
super("Skeleton", mtSkeleton, "entity.skeleton.hurt", "entity.skeleton.death", 0.6, 1.8),
|
||||
m_bIsWither(IsWither)
|
||||
{
|
||||
SetBurnsInDaylight(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user