summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPante <matthiasngeozhongsim@yahoo.com>2018-09-08 13:37:15 +1000
committermd_5 <git@md-5.net>2018-09-08 13:40:42 +1000
commit19d654bd5ee46d9827153c91b71dd806d7268085 (patch)
tree844aba58d03145a683f9dd82f07f0177bcae5603 /src
parent228a5cd59d11e7bbed6b30781d4b6f2e68a9b3a0 (diff)
downloadcraftbukkit-19d654bd5ee46d9827153c91b71dd806d7268085.tar
craftbukkit-19d654bd5ee46d9827153c91b71dd806d7268085.tar.gz
craftbukkit-19d654bd5ee46d9827153c91b71dd806d7268085.tar.lz
craftbukkit-19d654bd5ee46d9827153c91b71dd806d7268085.tar.xz
craftbukkit-19d654bd5ee46d9827153c91b71dd806d7268085.zip
Add ServerLoadEvent
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 52216ec2..2d5dff3d 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -151,6 +151,7 @@ import org.bukkit.craftbukkit.inventory.util.CraftInventoryCreator;
import org.bukkit.craftbukkit.tag.CraftBlockTag;
import org.bukkit.craftbukkit.tag.CraftItemTag;
import org.bukkit.craftbukkit.util.CraftNamespacedKey;
+import org.bukkit.event.server.ServerLoadEvent;
import org.bukkit.event.server.TabCompleteEvent;
public final class CraftServer implements Server {
@@ -775,6 +776,7 @@ public final class CraftServer implements Server {
loadPlugins();
enablePlugins(PluginLoadOrder.STARTUP);
enablePlugins(PluginLoadOrder.POSTWORLD);
+ getPluginManager().callEvent(new ServerLoadEvent(ServerLoadEvent.LoadType.RELOAD));
}
@Override