Yatopia/patches/api/0013-EMC-ServerReloadEvent.patch
2020-02-26 21:44:51 +01:00

40 lines
1.1 KiB
Diff

From c5191be3efd60fc0d31b5e74dcca3a716ec4e41e 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 00000000..2a5b39d8
--- /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