mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Fix protocol versions to wearables count mapping
This commit is contained in:
@@ -394,8 +394,10 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||
}
|
||||
|
||||
// Version stuff
|
||||
if (ctx.OutboundVersion < 0.4)
|
||||
if (ctx.OutboundVersion < 0.5)
|
||||
ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES;
|
||||
if (ctx.OutboundVersion < 0.6)
|
||||
ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES + 1;
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user