Compare commits
No commits in common. "8bb53ba6045f00c0cf32f277e8eaedca29d32d53" and "c2683c889094130039c7ce9744eaf92d6391d17c" have entirely different histories.
8bb53ba604
...
c2683c8890
@ -1,5 +1,5 @@
|
|||||||
const axios = require("axios").default;
|
const axios = require("axios").default;
|
||||||
const { RobloxFile } = require("rbxm-parser");
|
const { RobloxModel } = require("rbxm-parser");
|
||||||
|
|
||||||
// https://create.roblox.com/docs/reference/engine/enums/AssetType
|
// https://create.roblox.com/docs/reference/engine/enums/AssetType
|
||||||
const AssetType = {
|
const AssetType = {
|
||||||
@ -147,7 +147,7 @@ async function validateMapAsset(assetId, game) {
|
|||||||
responseType: "arraybuffer"
|
responseType: "arraybuffer"
|
||||||
});
|
});
|
||||||
|
|
||||||
const model = RobloxFile.ReadFromBuffer(modelDomRes.data);
|
const model = RobloxModel.ReadFromBuffer(modelDomRes.data);
|
||||||
if (!model) {
|
if (!model) {
|
||||||
// For whatever reason we couldn't parse the model, so we'll just skip doing validation
|
// For whatever reason we couldn't parse the model, so we'll just skip doing validation
|
||||||
return {
|
return {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"discord.js": "^14.14.1",
|
"discord.js": "^14.14.1",
|
||||||
"noblox.js": "^4.15.1",
|
"noblox.js": "^4.15.1",
|
||||||
"node-csv": "^0.1.2",
|
"node-csv": "^0.1.2",
|
||||||
"rbxm-parser": "^1.1.0",
|
"rbxm-parser": "^1.0.6",
|
||||||
"sugar-date": "^2.0.6"
|
"sugar-date": "^2.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user