Check NPE material, entity Implement EntityDestroyHandler

Signed-off-by: L5D <L5D@L5D-PC>