Interface RegionEvents.PlayerRegionLeaveListener
- Enclosing class:
RegionEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonLeave(RegionEvent.PlayerLeave onLeave) Cancelation not yet implemented
-
Method Details
-
onLeave
Cancelation not yet implemented- Parameters:
onLeave-- Returns:
- false to prevent player from entering the region, true otherwise
-