This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com
|new events = PlayerEventsPlayer.Warped |summary = To know whether the player changed mine level, you can check Check <code>if (e.NewLocation is MineShaft mine)</code>; to detect a mine level change (the new mine level will be <code>mine.mineLevel</code>). Although the new event is still only called for the current player, that may change in a future version; '''make sure to check <tt>e.IsLocalPlayer</tt> if you only want to handle the current player'''.