mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
25 lines
529 B
Java
25 lines
529 B
Java
package com.plotsquared.sponge.events;
|
|
|
|
import org.spongepowered.api.entity.living.player.Player;
|
|
import org.spongepowered.api.event.cause.Cause;
|
|
import org.spongepowered.api.event.impl.AbstractEvent;
|
|
|
|
public abstract class PlayerEvent extends AbstractEvent {
|
|
|
|
public final Player player;
|
|
|
|
public PlayerEvent(final Player player) {
|
|
this.player = player;
|
|
}
|
|
|
|
public Player getPlayer() {
|
|
return player;
|
|
}
|
|
|
|
@Override
|
|
public Cause getCause() {
|
|
return null;
|
|
}
|
|
|
|
}
|