Yatopia/patches/api/0011-EMC-ServerReloadEvent.patch
2020-06-23 01:09:14 +02:00

40 lines
1.1 KiB
Diff

From d28edc33a8c24ae343460a1560b568de1bf6ffdf Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 4 Dec 2016 01:19:32 -0500
Subject: [PATCH] EMC ServerReloadEvent
---
.../customevents/ServerReloadEvent.java | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 src/main/java/com/empireminecraft/customevents/ServerReloadEvent.java
diff --git a/src/main/java/com/empireminecraft/customevents/ServerReloadEvent.java b/src/main/java/com/empireminecraft/customevents/ServerReloadEvent.java
new file mode 100644
index 000000000..2a5b39d8b
--- /dev/null
+++ b/src/main/java/com/empireminecraft/customevents/ServerReloadEvent.java
@@ -0,0 +1,20 @@
+package com.empireminecraft.customevents;
+
+import org.bukkit.event.Event;
+import org.bukkit.event.HandlerList;
+
+public class ServerReloadEvent extends Event {
+ public ServerReloadEvent() {
+ }
+
+
+ private static final HandlerList handlers = new HandlerList();
+
+ public HandlerList getHandlers() {
+ return handlers;
+ }
+
+ public static HandlerList getHandlerList() {
+ return handlers;
+ }
+}
--
2.25.1.windows.1