mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Fix stuff data
This commit is contained in:
parent
380087cc8b
commit
95be1d99bf
@ -51,7 +51,7 @@ export class MapDataType extends ObjectDataBase
|
||||
|
||||
public getLegacyString(): string
|
||||
{
|
||||
if(!this._data || !this._data.length) return '';
|
||||
if(!this._data) return '';
|
||||
|
||||
const state = this._data[MapDataType.STATE];
|
||||
|
||||
@ -72,7 +72,7 @@ export class MapDataType extends ObjectDataBase
|
||||
|
||||
public get rarityLevel(): number
|
||||
{
|
||||
if(!this._data || !this._data.length) return -1;
|
||||
if(!this._data) return -1;
|
||||
|
||||
const state = this._data[MapDataType.RARITY];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user