Skip to content

Commit 9f5600a

Browse files
committed
Added IsLeaving() method to custom sandwich lava
1 parent aa62674 commit 9f5600a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Entities/CustomSandwichLava.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ private void OnPlayer(Player player) {
216216
}
217217
}
218218

219+
public bool IsLeaving() {
220+
return leaving;
221+
}
222+
219223
public void Leave() {
220224
AddTag(Tags.TransitionUpdate);
221225
leaving = true;

0 commit comments

Comments
 (0)