mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
add a null check for safety
This commit is contained in:
@@ -838,6 +838,9 @@ namespace OpenSim.Framework
|
||||
|
||||
public void ReadInExtraParamsBytes(byte[] data)
|
||||
{
|
||||
if (data == null)
|
||||
return;
|
||||
|
||||
const ushort FlexiEP = 0x10;
|
||||
const ushort LightEP = 0x20;
|
||||
const ushort SculptEP = 0x30;
|
||||
|
||||
Reference in New Issue
Block a user