Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fbe0b8efebca3bc2662b477bdf45627f9783d6c2)
This commit is contained in:
@@ -1776,7 +1776,7 @@ namespace Game.Entities
|
||||
|
||||
// Check enter rights before map getting to avoid creating instance copy for player
|
||||
// this check not dependent from map instance copy and same for all instance copies of selected map
|
||||
if (Global.MapMgr.PlayerCannotEnter(mapid, this, false) != 0)
|
||||
if (Map.PlayerCannotEnter(mapid, this, false) != 0)
|
||||
return false;
|
||||
|
||||
// Seamless teleport can happen only if cosmetic maps match
|
||||
|
||||
Reference in New Issue
Block a user