-
Method Summary
Optional<org.spongepowered.api.entity.living.player.server.ServerPlayer>
Getting the ServerPlayer
if he is the cause of the event.
boolean
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
Methods inherited from interface org.spongepowered.api.event.Event
cause, context, source
-
Method Details
-
getPlayer
Optional<org.spongepowered.api.entity.living.player.server.ServerPlayer> getPlayer()
Getting the ServerPlayer
if he is the cause of the event.
- Specified by:
getPlayer
in interface RegionMessageEvent
-
isAllowDamage
boolean isAllowDamage()
Get protect result.