You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isOnFire() && res->entity->GetType() != eTYPE_ENDERMAN)
309
+
{
310
+
res->entity->setOnFire(5);
311
+
}
312
+
}
313
+
306
314
if(res->entity->hurt(damageSource, dmg))
307
315
{
308
316
// Firx for #67839 - Customer Encountered: Bows enchanted with "Flame" still set things on fire if pvp/attack animals is turned off
309
317
// 4J Stu - We should not set the entity on fire unless we can cause some damage (this doesn't necessarily mean that the arrow hit lowered their health)
310
318
// set targets on fire first because we want cooked
311
319
// pork/chicken/steak
312
-
if (isOnFire() && res->entity->GetType() != eTYPE_ENDERMAN)
0 commit comments