project: add groovy dependency

This commit is contained in:
Thomas Cylke
2020-05-04 00:40:16 -04:00
parent 7700e3c171
commit 54b2f83aa4
2 changed files with 7 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ dependencies {
exclude(group = "org.slf4j")
}
implementation(group = "org.pf4j", name = "pf4j-update", version = "2.3.0")
implementation(group = "org.codehaus.groovy", name = "groovy", version = "3.0.3")
implementation(project(":http-api"))
runtimeOnly(group = "org.pushing-pixels", name = "radiance-trident", version = "2.5.1")

View File

@@ -1937,5 +1937,11 @@ public abstract class RSClientMixin implements RSClient
{
setStopTimeMs(1);
}
@Replace("doCheat")
static void doCheat(String cheat)
{
//This prevents the contents of all of our chat commands from getting sent to the server, no need to tell Jagex we're using the client
}
}