diff options
author | Nassim Jahnke <[email protected]> | 2024-07-18 19:02:27 +0200 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-07-19 12:22:19 +0200 |
commit | a020fbd2f10fba5f5542d7173ac9292eca835233 (patch) | |
tree | 82d611e544bf108bf62dcbd7bbc0e5e7ff80f910 /patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch | |
parent | 2a392767942799bc93a70a8698a0ef4ca7b8b6f9 (diff) | |
download | Paper-a020fbd2f10fba5f5542d7173ac9292eca835233.tar.gz Paper-a020fbd2f10fba5f5542d7173ac9292eca835233.zip |
Split rewriting flag into `paper.disableOldApiSupport` and `paper.disablePluginRemapping`
Diffstat (limited to 'patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch')
-rw-r--r-- | patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch b/patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch index 5a790ca6d8..efca5b32a0 100644 --- a/patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch +++ b/patches/server/0474-Add-RegistryAccess-for-managing-Registries.patch @@ -893,7 +893,7 @@ index 1f58b92c17d28e14621e8dc28042a5368f1f4a1f..ef80e6b4dff557daaab1b9fde4d8d401 // PatternType private static final FieldRenameData PATTERN_TYPE_DATA = FieldRenameData.Builder.newBuilder() diff --git a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java -index eeaa9787c7e04e7155b93aa8d83bd073e8dc209e..07e3ff72a186165734da56cb0a60138b7b77dc5a 100644 +index d9c2fe01d4e7c73a614b393bbd525b395b4cc5e4..49830bf42c6f567fb71b9ddc8d0640dd6e846adb 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java +++ b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java @@ -189,20 +189,10 @@ public class Commodore { @@ -915,9 +915,9 @@ index eeaa9787c7e04e7155b93aa8d83bd073e8dc209e..07e3ff72a186165734da56cb0a60138b - visitor = new LimitedClassRemapper(cw, new SimpleRemapper(Commodore.ENUM_RENAMES)); - } - cr.accept(new ClassRemapper(new ClassVisitor(Opcodes.ASM9, io.papermc.paper.pluginremap.reflect.ReflectionRemapper.visitor(visitor)) { // Paper - final Set<RerouteMethodData> rerouteMethodData = new HashSet<>(); -@@ -268,15 +258,6 @@ public class Commodore { + // Paper start + if (!io.papermc.paper.util.MappingEnvironment.DISABLE_PLUGIN_REMAPPING) { +@@ -273,15 +263,6 @@ public class Commodore { @Override public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { |