mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
@@ -1,14 +1,23 @@
|
||||
--- a/net/minecraft/server/gui/ServerGUI.java
|
||||
+++ b/net/minecraft/server/gui/ServerGUI.java
|
||||
@@ -160,6 +160,7 @@
|
||||
this.e.forEach(Runnable::run);
|
||||
@@ -96,7 +96,7 @@
|
||||
private JComponent c() {
|
||||
JPanel jpanel = new JPanel(new BorderLayout());
|
||||
GuiStatsComponent guistatscomponent = new GuiStatsComponent(this.server);
|
||||
- Collection collection = this.finalizers;
|
||||
+ Collection<Runnable> collection = this.finalizers; // CraftBukkit - decompile error
|
||||
|
||||
Objects.requireNonNull(guistatscomponent);
|
||||
collection.add(guistatscomponent::a);
|
||||
@@ -166,6 +166,7 @@
|
||||
this.finalizers.forEach(Runnable::run);
|
||||
}
|
||||
|
||||
+ private static final java.util.regex.Pattern ANSI = java.util.regex.Pattern.compile("\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})*)?[m|K]"); // CraftBukkit
|
||||
public void a(JTextArea jtextarea, JScrollPane jscrollpane, String s) {
|
||||
if (!SwingUtilities.isEventDispatchThread()) {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
@@ -175,7 +176,7 @@
|
||||
@@ -181,7 +182,7 @@
|
||||
}
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user