TrinityCore/TrinityCore — comment on commit 008329032210acab0227756d9f8f012b7559f2eb
File: src/server/game/Entities/Player/Player.cpp line 6252
By stfx:

doesnt that crash if tempitem = null (like unarmed) and attType != BASE_ATTACK ?