v3.1.0: adjusted ebony mimic spawning slightly to prevent a rare crash
This commit is contained in:
@@ -656,7 +656,9 @@ public abstract class RegularLevel extends Level {
|
||||
candidateCells.add(h.pos);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
if (candidateCells.isEmpty()) {
|
||||
if (Random.Int(5) == 0 && findMob(exit()) == null) {
|
||||
candidateCells.add(exit());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user