Skip to content

Commit 58f7881

Browse files
committed
Temp fix
1 parent c82c375 commit 58f7881

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gameserver/src/main/java/brainwine/gameserver/zone/gen/ZoneGenerator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ public Zone generateZone(Biome biome, int width, int height) {
159159
public Zone generateZone(Biome biome, int width, int height, int seed) {
160160
String id = generateDocumentId(seed);
161161
String name = getRandomName();
162+
163+
/*
162164
int retryCount = 0;
163165
164166
while(GameServer.getInstance().getZoneManager().getZoneByName(name) != null) {
@@ -170,7 +172,7 @@ public Zone generateZone(Biome biome, int width, int height, int seed) {
170172
171173
name = getRandomName();
172174
retryCount++;
173-
}
175+
}*/
174176

175177
Zone zone = new Zone(id, name, biome, width, height);
176178
GeneratorContext ctx = new GeneratorContext(zone, seed);

0 commit comments

Comments
 (0)