mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 12:36:07 +01:00
Use 'Paper' for our config file in timings
This commit is contained in:
parent
11d1937145
commit
6dae26cf14
@ -1,4 +1,4 @@
|
|||||||
From 0b47a95a20c68bbc0620b0fb71ae2f5663619343 Mon Sep 17 00:00:00 2001
|
From 0ec92e17d7012a63b718d6c7d816d45b4fd2a4f4 Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Mon, 29 Feb 2016 18:48:17 -0600
|
Date: Mon, 29 Feb 2016 18:48:17 -0600
|
||||||
Subject: [PATCH] Timings v2
|
Subject: [PATCH] Timings v2
|
||||||
@ -1542,7 +1542,7 @@ index 0000000..3dba3aa
|
|||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/co/aikar/timings/TimingsExport.java b/src/main/java/co/aikar/timings/TimingsExport.java
|
diff --git a/src/main/java/co/aikar/timings/TimingsExport.java b/src/main/java/co/aikar/timings/TimingsExport.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..09cab70
|
index 0000000..17f8c6f
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/co/aikar/timings/TimingsExport.java
|
+++ b/src/main/java/co/aikar/timings/TimingsExport.java
|
||||||
@@ -0,0 +1,373 @@
|
@@ -0,0 +1,373 @@
|
||||||
@ -1750,7 +1750,7 @@ index 0000000..09cab70
|
|||||||
+ parent.put("config", createObject(
|
+ parent.put("config", createObject(
|
||||||
+ pair("spigot", mapAsJSON(Bukkit.spigot().getSpigotConfig(), null)),
|
+ pair("spigot", mapAsJSON(Bukkit.spigot().getSpigotConfig(), null)),
|
||||||
+ pair("bukkit", mapAsJSON(Bukkit.spigot().getBukkitConfig(), null)),
|
+ pair("bukkit", mapAsJSON(Bukkit.spigot().getBukkitConfig(), null)),
|
||||||
+ pair("paperspigot", mapAsJSON(Bukkit.spigot().getPaperConfig(), null))
|
+ pair("paper", mapAsJSON(Bukkit.spigot().getPaperConfig(), null))
|
||||||
+ ));
|
+ ));
|
||||||
+
|
+
|
||||||
+ new TimingsExport(sender, parent, history).start();
|
+ new TimingsExport(sender, parent, history).start();
|
||||||
|
Loading…
Reference in New Issue
Block a user