File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Player } from "../../lib/RuneScape"
22import { hiscores } from "../../runescape"
33
44test ( "Fetch normal player by name (string)" , async ( ) => {
5- return hiscores . getPlayer ( "Paqt " ) . then ( data => {
5+ return hiscores . getPlayer ( "Zezima " ) . then ( data => {
66 expect ( data ) . toBeDefined ( )
77 expect ( data ) . toBeInstanceOf ( Player )
88 } )
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ export class GrandExchangeCategory {
128128
129129export class Item {
130130 id : number
131+ name : string
131132 examine : string
132133 category : GrandExchangeCategory
133134 members : boolean
@@ -142,6 +143,7 @@ export class Item {
142143
143144 constructor ( item : Jagex . GrandExchange . Item ) {
144145 this . id = item . id
146+ this . name = item . name
145147 this . examine = item . description
146148 this . category = new GrandExchangeCategory ( item . type )
147149 this . members = item . members === "true" ? true : false
You can’t perform that action at this time.
0 commit comments