Skip to content

issue with OnEntityReskinned not called#542

Merged
MrBlue merged 1 commit intoOxideMod:developfrom
Lorenzo-oo:develop
Dec 30, 2024
Merged

issue with OnEntityReskinned not called#542
MrBlue merged 1 commit intoOxideMod:developfrom
Lorenzo-oo:develop

Conversation

@Lorenzo-oo
Copy link
Copy Markdown
Contributor

OnEntityReskinned is only called when reskinning TC or LegacyFurnace
Move callhook 2 lines down to be called every reskin

//---
baseEntity.SetSlots(slots);
}
Interface.CallHook("OnEntityReskinned", baseEntity, skin, msg.player);
Pool.FreeUnmanaged<SprayCan.ChildPreserveInfo>(ref list);
}
Interface.CallHook("OnEntityReskinned", baseEntity, skin, msg.player);
base.ClientRPC<int, NetworkableId>(RpcTarget.NetworkGroup("Client_ReskinResult"), 1, baseEntity.net.ID);
}
}
//---

@MrBlue MrBlue merged commit b967f3f into OxideMod:develop Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants