mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 16:55:27 +00:00
fix(property): naming a model no longer renames the property
The model info window sends UpdatePropertyOrModelForFilterCheck with isProperty false (client 0x00cc42e0); only the property editor sends it true (0x00c2e710). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -373,6 +373,9 @@ namespace GameMessages {
|
||||
}
|
||||
|
||||
void UpdatePropertyOrModelForFilterCheck::Handle(Entity& entity, const SystemAddress& sysAddr) {
|
||||
// A model's name and description (the property editor's model info window,
|
||||
// LWOPropertyEditorComponent::OnUpdateModelDescription 0x00cc42e0) aren't stored yet; they must not rename the property
|
||||
if (!isProperty) return;
|
||||
auto* property = PropertyManagementComponent::Instance();
|
||||
// Only the owner names the property
|
||||
const auto* sender = PlayerManager::GetPlayer(sysAddr);
|
||||
|
||||
Reference in New Issue
Block a user