mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 14:35:11 +01:00
parent
c4a1cd137a
commit
9d6e7e3df0
1 changed files with 4 additions and 3 deletions
|
@ -347,10 +347,10 @@ index 0000000000000000000000000000000000000000..3a5bb5d2a45654385ca0bc15c81ef953
|
||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
|
diff --git a/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..06dbaf0c77333f4d0d8ac462edd52097237505c0
|
index 0000000000000000000000000000000000000000..6f1e4ae352dcc6aacd9703b1653701f93974d1bd
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
|
+++ b/src/main/java/io/papermc/paper/pluginremap/PluginRemapper.java
|
||||||
@@ -0,0 +1,370 @@
|
@@ -0,0 +1,371 @@
|
||||||
+package io.papermc.paper.pluginremap;
|
+package io.papermc.paper.pluginremap;
|
||||||
+
|
+
|
||||||
+import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
+import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
||||||
|
@ -701,7 +701,8 @@ index 0000000000000000000000000000000000000000..06dbaf0c77333f4d0d8ac462edd52097
|
||||||
+ try {
|
+ try {
|
||||||
+ collector.throwIfPresent();
|
+ collector.throwIfPresent();
|
||||||
+ } catch (final Exception ex) {
|
+ } catch (final Exception ex) {
|
||||||
+ throw new RuntimeException("Encountered exception remapping plugins", ex);
|
+ // Don't hard fail during bootstrap/plugin loading. The plugin(s) in question will be skipped
|
||||||
|
+ LOGGER.error("Encountered exception remapping plugins", ex);
|
||||||
+ }
|
+ }
|
||||||
+ return ret;
|
+ return ret;
|
||||||
+ }
|
+ }
|
||||||
|
|
Loading…
Reference in a new issue