fix(map): Fixes map diffs (Old Haven/Minax) (#720)
* Fixes reading map/static diffs.
This commit is contained in:
parent
0bcf7a8d01
commit
9729b5a7b0
8 changed files with 54 additions and 157 deletions
|
|
@ -47,9 +47,6 @@ namespace Server
|
|||
[CallPriority(2)]
|
||||
public static void Configure()
|
||||
{
|
||||
// Set to true to support < 6.0.0 clients where map0.mul is both Felucca & Trammel
|
||||
var pre6000Trammel = ServerConfiguration.GetOrUpdateSetting("maps.enablePre6000Trammel", false);
|
||||
|
||||
var failures = new List<string>();
|
||||
var count = 0;
|
||||
|
||||
|
|
@ -66,12 +63,6 @@ namespace Server
|
|||
|
||||
foreach (var def in maps)
|
||||
{
|
||||
if (def.Id == 1 && pre6000Trammel)
|
||||
{
|
||||
// Use Old Haven by changing file index to Felucca
|
||||
def.FileIndex = 0;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
RegisterMap(def);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue