mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:01:58 +01:00
20 lines
753 B
Diff
20 lines
753 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Aikar <aikar@aikar.co>
|
||
|
Date: Mon, 27 Apr 2020 02:40:34 -0400
|
||
|
Subject: [PATCH] Make PlayerEvent public
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/event/player/PlayerEvent.java b/src/main/java/org/bukkit/event/player/PlayerEvent.java
|
||
|
index 793b661b..b7c8f2c3 100644
|
||
|
--- a/src/main/java/org/bukkit/event/player/PlayerEvent.java
|
||
|
+++ b/src/main/java/org/bukkit/event/player/PlayerEvent.java
|
||
|
@@ -0,0 +0,0 @@ public abstract class PlayerEvent extends Event {
|
||
|
player = who;
|
||
|
}
|
||
|
|
||
|
- PlayerEvent(@NotNull final Player who, boolean async) {
|
||
|
+ public PlayerEvent(@NotNull final Player who, boolean async) { // Paper - wtf?
|
||
|
super(async);
|
||
|
player = who;
|
||
|
|
||
|
--
|