1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Added unlockaetheryte command

This commit is contained in:
amibu 2017-08-08 19:24:41 +02:00
parent 28370ebd30
commit d4a86366dd

View file

@ -201,6 +201,12 @@ void Core::GameCommandHandler::set( char * data, Core::Entity::PlayerPtr pPlayer
pPlayer->teleport( aetheryteId ); pPlayer->teleport( aetheryteId );
} }
else if( ( subCommand == "unlockaetheryte" ) && ( params != "" ) )
{
for( uint8_t i = 0; i < 255; i++ )
pPlayer->registerAetheryte( i );
}
else if( ( subCommand == "discovery" ) && ( params != "" ) ) else if( ( subCommand == "discovery" ) && ( params != "" ) )
{ {
int32_t map_id; int32_t map_id;