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

19 lines
409 B
Java
Raw Normal View History

2015-07-30 16:25:16 +02:00
package com.plotsquared.sponge.events;
2015-10-07 08:33:33 +02:00
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.event.impl.AbstractEvent;
2015-07-30 16:25:16 +02:00
2015-09-13 06:04:31 +02:00
public abstract class PlayerEvent extends AbstractEvent {
2015-07-30 16:25:16 +02:00
public final Player player;
2015-09-13 06:04:31 +02:00
public PlayerEvent(final Player player) {
2015-07-30 16:25:16 +02:00
this.player = player;
}
2015-09-13 06:04:31 +02:00
public Player getPlayer() {
2015-09-11 12:09:22 +02:00
return player;
2015-07-30 16:25:16 +02:00
}
2015-09-13 06:04:31 +02:00
2015-07-30 16:25:16 +02:00
}