remove unused test classes, fix new array creation in mixins
This commit is contained in:
@@ -534,7 +534,7 @@ public class MixinInjector extends AbstractInjector
|
|||||||
|
|
||||||
if (deobTypeClass != null)
|
if (deobTypeClass != null)
|
||||||
{
|
{
|
||||||
Type newType = new Type("L" + inject.toVanilla(deobTypeClass) + ";");
|
Type newType = new Type("L" + inject.toVanilla(deobTypeClass).getName() + ";");
|
||||||
|
|
||||||
((ANewArray) i).setType(newType);
|
((ANewArray) i).setType(newType);
|
||||||
log.debug("Replaced {} type {} with type {}", i, type, newType);
|
log.debug("Replaced {} type {} with type {}", i, type, newType);
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
package net.runelite.rs.api;
|
|
||||||
|
|
||||||
public interface RSInterface
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
package net.runelite.rs.api;
|
|
||||||
|
|
||||||
import javax.inject.Inject;
|
|
||||||
import net.runelite.mapping.Import;
|
|
||||||
|
|
||||||
public interface RSTest extends RSInterface
|
|
||||||
{
|
|
||||||
@Import("test1")
|
|
||||||
void setTest1(String test1);
|
|
||||||
|
|
||||||
@Import("test1")
|
|
||||||
String getTest1();
|
|
||||||
|
|
||||||
@Import("test2")
|
|
||||||
@Inject
|
|
||||||
void invokeTest2(String var1, int var3, String var2);
|
|
||||||
|
|
||||||
@Import("test3")
|
|
||||||
void setTest3(String test1);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user