Make the GUI graph fancier

This commit is contained in:
William Blake Galbreath
2020-02-02 04:00:40 -06:00
parent 196c153504
commit fa7c667a3e
6 changed files with 366 additions and 2 deletions

View File

@@ -1,10 +1,12 @@
--- a/net/minecraft/server/gui/MinecraftServerGui.java
+++ b/net/minecraft/server/gui/MinecraftServerGui.java
@@ -96,7 +96,7 @@
@@ -95,8 +95,8 @@
private JComponent buildInfoPanel() {
JPanel jpanel = new JPanel(new BorderLayout());
StatsComponent guistatscomponent = new StatsComponent(this.server);
- StatsComponent guistatscomponent = new StatsComponent(this.server);
- Collection collection = this.finalizers;
+ com.destroystokyo.paper.gui.GuiStatsComponent guistatscomponent = new com.destroystokyo.paper.gui.GuiStatsComponent(this.server); // Paper - Make GUI graph fancier
+ Collection<Runnable> collection = this.finalizers; // CraftBukkit - decompile error
Objects.requireNonNull(guistatscomponent);