make travis not try to run a test it wasn't supposed to
This commit is contained in:
@@ -52,6 +52,7 @@ import net.runelite.deob.util.JarUtil;
|
||||
import net.runelite.deob.util.NameMappings;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
@@ -87,12 +88,13 @@ public class HookImporter
|
||||
@After
|
||||
public void after() throws IOException
|
||||
{
|
||||
File out = new File("C:/Users/Lucas/Desktop/client.jar");
|
||||
File out = folder.newFile("client.jar");
|
||||
JarUtil.saveJar(group, out);
|
||||
logger.info("Wrote to {}", out);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void importHooks()
|
||||
{
|
||||
int classes = 0, fields = 0, methods = 0, access = 0;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
rs.client=C:/Users/Lucas/Desktop/gamepack180_deob.jar
|
||||
rs.client=${net.runelite.rs:rs-client:jar}
|
||||
rs.version=180
|
||||
vanilla.client=${net.runelite.rs:vanilla:jar}
|
||||
@@ -222,7 +222,7 @@ public class ClientLoader
|
||||
|
||||
if (rs instanceof Client)
|
||||
{
|
||||
log.info("client-patch {}", "420 blaze it RL pricks");
|
||||
log.info("client-patch 420 blaze it RL pricks");
|
||||
}
|
||||
|
||||
return rs;
|
||||
@@ -274,7 +274,7 @@ public class ClientLoader
|
||||
{
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(INJECTED_CLIENT);
|
||||
fileOutputStream.getChannel()
|
||||
.transferFrom(readableByteChannel, 0, Long.MAX_VALUE);
|
||||
.transferFrom(readableByteChannel, 0, Integer.MAX_VALUE);
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user