fix wall parser

This commit is contained in:
dank074 2023-01-07 20:24:23 -06:00
parent f33b7760b2
commit aa8a68de28
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export class FurnitureWallDataParser
const state = parseFloat(this._stuffData);
if(!isNaN(state)) this._state = state;
if(!isNaN(state)) this._state = Math.trunc(state);
if(this._location.indexOf(':') === 0)
{

View File

@ -17,7 +17,6 @@ export class FurnitureWallUpdateParser implements IMessageParser
if(!wrapper) return false;
this._item = new FurnitureWallDataParser(wrapper);
this._item.username = wrapper.readString();
return true;
}