PlotSquared/src/main/java/com/plotsquared/sponge/events/PlayerEvent.java

19 lines
388 B
Java
Raw Normal View History

2015-07-30 16:25:16 +02:00
package com.plotsquared.sponge.events;
2015-09-06 03:53:56 +02:00
import org.spongepowered.api.entity.player.Player;
2015-07-30 16:25:16 +02:00
import org.spongepowered.api.event.AbstractEvent;
public abstract class PlayerEvent extends AbstractEvent {
public final Player player;
public PlayerEvent(Player player) {
this.player = player;
}
public Player getPlayer() {
return this.player;
}
}