diff --git a/src/swf/SWFUtilities.ts b/src/swf/SWFUtilities.ts index 66426a0..11834ef 100644 --- a/src/swf/SWFUtilities.ts +++ b/src/swf/SWFUtilities.ts @@ -1,5 +1,4 @@ import { wrap } from 'bytebuffer'; -import { writeFile } from 'fs/promises'; import { parseStringPromise } from 'xml2js'; import { AnimationMapper, AssetMapper, IAssetData, IndexMapper, LogicMapper, ManifestMapper, NitroBundle, RoomVisualizationMapper, SpriteBundle, VisualizationMapper } from '../common'; import { HabboAssetSWF } from './HabboAssetSWF'; @@ -16,8 +15,6 @@ export class SWFUtilities { if (spriteBundle && (spriteBundle.spritesheet !== undefined)) assetData.spritesheet = spriteBundle.spritesheet; - writeFile('room.json', JSON.stringify(assetData), 'utf8'); - const nitroBundle = new NitroBundle(); nitroBundle.addFile((className + '.json'), Buffer.from(JSON.stringify(assetData)));