Skip to content

Commit

Permalink
Fix Nullref introduced via f9bec79
Browse files Browse the repository at this point in the history
  • Loading branch information
PLASMAchicken committed May 6, 2024
1 parent be957a3 commit 21abe6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BPEssentials/Commands/Warps/WarpCreate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void Invoke(ShPlayer player, string warp, int price = 0, int delay = 0)
player.TS("price_error_negative");
return;
}
if (player.GetPlace.GetEntranceDoor is ShApartment)
if (player.GetPlace.IsClone)
{
player.TS("warpCreate_error_inApartment");
return;
Expand Down

0 comments on commit 21abe6a

Please sign in to comment.