mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-06 02:42:34 +01:00
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From 1babd5878364f42e03c05f75231fd3b2e839f5d6 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Thu, 25 Jun 2015 21:00:09 -0400
|
|
Subject: [PATCH] EMC ServerReloadEvent
|
|
|
|
---
|
|
src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
index df8bb734ae..35d0b9c4b8 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
|
@@ -779,6 +779,7 @@ public final class CraftServer implements Server {
|
|
@Override
|
|
public void reload() {
|
|
org.spigotmc.WatchdogThread.hasStarted = false; // Paper - Disable watchdog early timeout on reload
|
|
+ new com.empireminecraft.customevents.ServerReloadEvent().callEvent(); // EMC
|
|
reloadCount++;
|
|
configuration = YamlConfiguration.loadConfiguration(getConfigFile());
|
|
commandsConfiguration = YamlConfiguration.loadConfiguration(getCommandsConfigFile());
|
|
--
|
|
2.25.1.windows.1
|
|
|