DarkflameServer/dScripts/NjhubLavaPlayerDeathTrigger.cpp
EmosewaMC 37de00464e M-Z scripts
Removing extraneous includes from scripts that start with the letter M-Z
2022-06-23 01:26:44 -07:00

11 lines
255 B
C++

#include "NjhubLavaPlayerDeathTrigger.h"
#include "Entity.h"
void NjhubLavaPlayerDeathTrigger::OnCollisionPhantom(Entity *self, Entity *target)
{
if (!target->IsPlayer())
return;
target->Smash(self->GetObjectID(), VIOLENT, u"drown");
}