SPIGOT-7587: Remove fixes for now-resolved MC-142590 and MC-109346
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -731,16 +731,11 @@
|
||||
|
||||
try {
|
||||
arraylist = Lists.newArrayList(NativeModuleLister.listModules());
|
||||
@@ -1903,6 +2239,22 @@
|
||||
@@ -1903,6 +2239,17 @@
|
||||
|
||||
}
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ public boolean isSameThread() {
|
||||
+ return super.isSameThread() || this.isStopped(); // CraftBukkit - MC-142590
|
||||
+ }
|
||||
+
|
||||
+ public boolean isDebugging() {
|
||||
+ return false;
|
||||
+ }
|
||||
@@ -754,7 +749,7 @@
|
||||
private void startMetricsRecordingTick() {
|
||||
if (this.willStartRecordingMetrics) {
|
||||
this.metricsRecorder = ActiveMetricsRecorder.createStarted(new ServerMetricsSamplersProvider(SystemUtils.timeSource, this.isDedicatedServer()), SystemUtils.timeSource, SystemUtils.ioPool(), new MetricsPersister("server"), this.onMetricsRecordingStopped, (path) -> {
|
||||
@@ -2029,6 +2381,11 @@
|
||||
@@ -2029,6 +2376,11 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user