@@ -4037,6 +4037,7 @@ namespace LuaPlayer
40374037 return 0 ;
40384038 }
40394039
4040+ #if ELUNA_EXPANSION == EXP_RETAIL
40404041 /* *
40414042 * Add item appearance to the [Player].
40424043 *
@@ -4064,6 +4065,7 @@ namespace LuaPlayer
40644065
40654066 return 0 ;
40664067 }
4068+ #endif
40674069
40684070 ElunaRegister<Player> PlayerMethods[] =
40694071 {
@@ -4272,8 +4274,6 @@ namespace LuaPlayer
42724274 { " CanRewardQuest" , &LuaPlayer::CanRewardQuest },
42734275 { " HasRecruited" , &LuaPlayer::HasRecruited },
42744276 { " IsRecruited" , &LuaPlayer::IsRecruited },
4275- { " AddItemAppearance" , &LuaPlayer::AddItemAppearance },
4276- { " AddTransmogSet" , &LuaPlayer::AddTransmogSet },
42774277
42784278 // Gossip
42794279#if ELUNA_EXPANSION < EXP_RETAIL
@@ -4374,6 +4374,8 @@ namespace LuaPlayer
43744374 { " UnbindAllInstances" , &LuaPlayer::UnbindAllInstances },
43754375 { " SendAuctionMenu" , &LuaPlayer::SendAuctionMenu },
43764376 { " GossipAddQuests" , &LuaPlayer::GossipAddQuests },
4377+ { " AddItemAppearance" , METHOD_REG_NONE },
4378+ { " AddTransmogSet" , METHOD_REG_NONE },
43774379#else
43784380 { " SendAreaTriggerMessage" , METHOD_REG_NONE },
43794381 { " SendAddonMessage" , METHOD_REG_NONE },
@@ -4393,6 +4395,8 @@ namespace LuaPlayer
43934395 { " UnbindAllInstances" , METHOD_REG_NONE },
43944396 { " SendAuctionMenu" , METHOD_REG_NONE },
43954397 { " GossipAddQuests" , METHOD_REG_NONE },
4398+ { " AddItemAppearance" , &LuaPlayer::AddItemAppearance },
4399+ { " AddTransmogSet" , &LuaPlayer::AddTransmogSet },
43964400#endif
43974401
43984402 // Not implemented methods
0 commit comments