mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-11 21:45:26 -04:00
Merge pull request #1527 from madsboddum/fix/namegen/duplicate-namefilter-load
When generating a name for a given Race, don't bother checking if the…
This commit is contained in:
+1
-3
@@ -1,5 +1,5 @@
|
||||
/***********************************************************************************
|
||||
* Copyright (c) 2023 /// Project SWG /// www.projectswg.com *
|
||||
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
|
||||
* *
|
||||
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
|
||||
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
|
||||
@@ -51,8 +51,6 @@ public class SWGNameGenerator {
|
||||
|
||||
@NotNull
|
||||
public String generateRaceName(@NotNull Race race) {
|
||||
if (!nameFilter.isLoaded())
|
||||
nameFilter.load();
|
||||
return generateName("race_" + race.getSpecies());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user