alliedmodders/sourcemod — pull request #70 by VoiDeD (2014-07-05 15:59:36+00:00)
Title: GetEntityClassname should handle the case where the world entity has not been created yet

This fixes a case where some metamod plugins were creating entities in a LevelInit pre-hook (thus, before the world entity was initialized).

The above use case is probably bad, but at least this would ensure the same behavior of pre-1.6, and I don't see anything too bad about it.