PlotSquared/Sponge/src/main/java/com/plotsquared/sponge/events/PlayerEvent.java
2016-02-22 23:11:40 -05:00

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;
}
}