devtools: add transform command

This commit is contained in:
Adam
2018-06-24 17:13:07 -04:00
parent 62dec90d42
commit 784d39324c
5 changed files with 31 additions and 0 deletions

View File

@@ -240,6 +240,15 @@ public class DevToolsPlugin extends Plugin
localPlayer.setSpotAnimFrame(0);
break;
}
case "transform":
{
int id = Integer.parseInt(args[0]);
Player player = client.getLocalPlayer();
player.getPlayerComposition().setTransformedNpcId(id);
player.setIdlePoseAnimation(-1);
player.setPoseAnimation(-1);
break;
}
}
}