[Hotfix] Illusion Revert (#1398)

* Revert some "fixes", clean some code up

* Use RaceGender default height data for when calculating size during SendIllusionPacket which should alleviate some inconsistencies for new clients zoning in and seeing the entity

* Some code cleanup
This commit is contained in:
Chris Miles
2021-06-13 18:06:27 -05:00
committed by GitHub
parent e1e5873398
commit 8d90b5a2e7
4 changed files with 103 additions and 102 deletions
+1 -3
View File
@@ -378,9 +378,7 @@ void Mob::SendArmorAppearance(Client *one_client)
* The other packets work for primary/secondary.
*/
Log(Logs::Detail, Logs::MobAppearance, "Mob::SendArmorAppearance [%s]",
this->GetCleanName()
);
LogMobAppearance("[SendArmorAppearance] [{}]", GetCleanName());
if (IsPlayerRace(race)) {
if (!IsClient()) {