Skip to content

Commit adcfca1

Browse files
committed
add null player check in bowl puffer code
1 parent a954e64 commit adcfca1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/Entities/BowlPuffer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ private bool CollidePufferBarrierCheck() {
484484
}
485485

486486
private void PlayerThrowSelf(Player player) {
487-
if (player.Holding?.Entity == this)
488-
player?.Throw();
487+
if (player?.Holding?.Entity == this)
488+
player.Throw();
489489
}
490490

491491
private void ShatterBowl() {

0 commit comments

Comments
 (0)