From 51296f1cae6accacc1f572b8b1de8c6d28c1a285 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 20 Feb 2020 00:18:52 +1300 Subject: [PATCH] Shade asm into Lib's Disguises for now, need to fetch remotely and save for 1.12 --- pom.xml | 30 +++++++++++++++++-- .../utilities/reflection/asm/Asm14.java | 2 +- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 8d2ef879..d0092a22 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ LibsDisguises LibsDisguises - 9.9.6 + 9.9.6-SNAPSHOT exec:java clean install @@ -50,6 +50,32 @@ me.libraryaddict.disguise.utilities.watchers.CompileMethods + + org.apache.maven.plugins + maven-shade-plugin + 3.2.2 + + + package + + shade + + + + + org.objectweb.asm + me.libraryaddict.asm + + + + + org.ow2.asm:asm + + + + + + @@ -69,13 +95,11 @@ org.ow2.asm asm 7.3.1 - provided org.projectlombok lombok 1.18.10 - provided com.comphenix.protocol diff --git a/src/main/java/me/libraryaddict/disguise/utilities/reflection/asm/Asm14.java b/src/main/java/me/libraryaddict/disguise/utilities/reflection/asm/Asm14.java index 639b8238..421ebf77 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/reflection/asm/Asm14.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/reflection/asm/Asm14.java @@ -1,6 +1,6 @@ package me.libraryaddict.disguise.utilities.reflection.asm; -import org.bukkit.craftbukkit.libs.org.objectweb.asm.*; +import org.objectweb.asm.*; import java.io.IOException; import java.lang.reflect.Field;