You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Small update
This commit is contained in:
@@ -40,7 +40,7 @@ export class RoomUnitInfoParser implements IMessageParser
|
||||
this._standId = wrapper.readInt();
|
||||
this._overlayId = wrapper.readInt();
|
||||
|
||||
if(wrapper.bytesAvailable >= 4) this._cardBackgroundId = wrapper.readInt();
|
||||
if(wrapper.bytesAvailable) this._cardBackgroundId = wrapper.readInt();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ export class UserProfileParser implements IMessageParser
|
||||
this._standId = wrapper.readInt();
|
||||
this._overlayId = wrapper.readInt();
|
||||
|
||||
if(wrapper.bytesAvailable >= 4) this._cardBackgroundId = wrapper.readInt();
|
||||
if(wrapper.bytesAvailable) this._cardBackgroundId = wrapper.readInt();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user