Map get returns null directly.

This commit is contained in:
MobiusDevelopment
2022-08-30 21:13:50 +00:00
parent 173b8b8df1
commit 50f15c4fb1
27 changed files with 27 additions and 30 deletions

View File

@ -697,7 +697,7 @@ public class ZoneManager implements IXmlReader
*/
public SpawnTerritory getSpawnTerritory(String name)
{
return _spawnTerritories.containsKey(name) ? _spawnTerritories.get(name) : null;
return _spawnTerritories.get(name);
}
/**