Skip to content

Commit 0ecae23

Browse files
committed
[Gear] Fix crash w/ Voidglass Shards
1 parent 5a58fc4 commit 0ecae23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

engine/player/unique_gear_thewarwithin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10050,6 +10050,8 @@ void voidglass_shards( special_effect_t& effect )
1005010050

1005110051
void execute( const spell_data_t*, player_t* t, action_state_t* s ) override
1005210052
{
10053+
if ( !s ) return;
10054+
1005310055
if ( s->result_type == result_amount_type::DMG_DIRECT || s->result_type == result_amount_type::DMG_OVER_TIME )
1005410056
{
1005510057
damage->execute_on_target( t );

0 commit comments

Comments
 (0)