Limit spawn amount if too many entities are in the world

Can be controlled in the config with `sceneEntityLimit`
This commit is contained in:
Melledy
2022-05-30 19:49:42 -07:00
parent 18721758cc
commit 184eec82b3
3 changed files with 13 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ public class ConfigContainer {
public static class GameOptions {
public InventoryLimits inventoryLimits = new InventoryLimits();
public AvatarLimits avatarLimits = new AvatarLimits();
public int worldEntityLimit = 1000; // Unenforced. TODO: Implement.
public int sceneEntityLimit = 1000; // Unenforced. TODO: Implement.
public boolean watchGachaConfig = false;
public boolean enableShopItems = true;