1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

Use that Gminvis yo

This commit is contained in:
Biscuit Boy 2018-04-19 22:30:23 +10:00
parent 51a1c020a1
commit 10eec1f954

View file

@ -1605,7 +1605,7 @@ void Core::Entity::Player::sendZoneInPackets( uint32_t param1, uint32_t param2 =
auto zoneInPacket = ActorControlPacket143( getId(), ZoneIn, param1, param2, param3, param4 );
auto SetStatusPacket = ActorControlPacket142( getId(), SetStatus, static_cast< uint8_t >( Entity::Chara::ActorStatus::Idle ) );
if( !Entity::Chara::Invisible )
if( getGmInvis() )
sendToInRangeSet( zoneInPacket, true );
if( pSetStatus )
sendToInRangeSet( SetStatusPacket );