57dd397155
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: b999860d SPIGOT-2304: Add LootGenerateEvent CraftBukkit Changes:77fd87e4
SPIGOT-2304: Implement LootGenerateEventa1a705ee
SPIGOT-5566: Doused campfires & fires should call EntityChangeBlockEvent41712edd
SPIGOT-5707: PersistentDataHolder not Persistent on API dropped Item
36 Zeilen
1.2 KiB
Diff
36 Zeilen
1.2 KiB
Diff
From fc0872e1d7d932dd86557d11134fd650901a0ca9 Mon Sep 17 00:00:00 2001
|
|
From: MiniDigger <admin@minidigger.me>
|
|
Date: Thu, 30 Apr 2020 16:17:14 +0200
|
|
Subject: [PATCH] Fix commodore by updating asm
|
|
|
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
index fd417a9eeb..bc8438ae1a 100644
|
|
--- a/pom.xml
|
|
+++ b/pom.xml
|
|
@@ -87,7 +87,7 @@
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
- <version>7.3.1</version>
|
|
+ <version>8.0.1</version> <!-- Paper -->
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- deprecated API depend -->
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java
|
|
index 2c6814f131..4ae41fd255 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/util/Commodore.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/util/Commodore.java
|
|
@@ -171,7 +171,7 @@ public class Commodore
|
|
ClassReader cr = new ClassReader( b );
|
|
ClassWriter cw = new ClassWriter( cr, 0 );
|
|
|
|
- cr.accept( new ClassVisitor( Opcodes.ASM7, cw )
|
|
+ cr.accept( new ClassVisitor( Opcodes.ASM8, cw) // Paper
|
|
{
|
|
// Paper start - Rewrite plugins
|
|
@Override
|
|
--
|
|
2.26.2
|
|
|