mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
Block //gm terri <territorytype> usage for instanced territories
This commit is contained in:
parent
0f6ac74f15
commit
973cfbf365
2 changed files with 7 additions and 1 deletions
|
@ -457,6 +457,12 @@ void Core::Network::GameConnection::gm1Handler( const Packets::FFXIVARR_PACKET_R
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( !pTeriMgr->isDefaultTerritory( param1 ) )
|
||||||
|
{
|
||||||
|
player.sendUrgent( pZone->getName() + " is an instanced area - instance ID required to zone in." );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
bool doTeleport = false;
|
bool doTeleport = false;
|
||||||
uint16_t teleport;
|
uint16_t teleport;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ class TerritoryMgr
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum TerritoryIntendedUse :
|
enum TerritoryIntendedUse :
|
||||||
uint8_t //ToDo: Add The Rest of The Territory Types and Have Better Names For Them
|
uint8_t //TODO: Add the rest of the territory types and have better names for them
|
||||||
{
|
{
|
||||||
Town = 0,
|
Town = 0,
|
||||||
OpenWorld = 1,
|
OpenWorld = 1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue