remove unused test classes, fix new array creation in mixins

This commit is contained in:
Lucwousin
2019-10-29 23:05:19 +01:00
parent f0214b39d4
commit b360349dd7
3 changed files with 1 additions and 26 deletions

View File

@@ -534,7 +534,7 @@ public class MixinInjector extends AbstractInjector
if (deobTypeClass != null)
{
Type newType = new Type("L" + inject.toVanilla(deobTypeClass) + ";");
Type newType = new Type("L" + inject.toVanilla(deobTypeClass).getName() + ";");
((ANewArray) i).setType(newType);
log.debug("Replaced {} type {} with type {}", i, type, newType);

View File

@@ -1,5 +0,0 @@
package net.runelite.rs.api;
public interface RSInterface
{
}

View File

@@ -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);
}