Skip to content

Commit

Permalink
feat(api): ServerPlayerEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Feb 12, 2022
1 parent 963dd43 commit 51757e6
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package org.auioc.mods.arnicalib.api.game.event;

import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.entity.player.Player;
import net.minecraftforge.event.entity.living.LivingEvent;

public class ServerPlayerEvent extends LivingEvent {

private final ServerPlayer player;

public ServerPlayerEvent(ServerPlayer player) {
super(player);
this.player = player;
}

public Player getPlayer() {
return this.player;
}

}

0 comments on commit 51757e6

Please # to comment.