BentoBoxWorld / Greenhouses

BentoBox Add-on to enable personal biomes in a glass greenhouse
Eclipse Public License 2.0
13 stars 9 forks source link

Overpopulated mobs #18

Closed VozikCZE closed 5 years ago

VozikCZE commented 5 years ago

Description

Describe the bug

Mobs spawned in greenhouse are overpopulated after longer no activity on server.

Steps to reproduce the behavior

1) Create greenhouse. 2) Leave the game. 3) Wait few hours. 4) Join the game.

Screenshots and videos

https://ctrlv.cz/shots/2019/08/23/V6Yh.png

Expected behavior

Mobs should stop spawning, if I left the server. There is maybe problem with loaded chunk but without entities, so greenhouse is still spawning though mob limit?

Environment

Server

Plugins

Plugins (29): BentoBox, BlockVersion*, ChatInjector*, CompostingPlus, CPCameraStudioReborn*, CustomOreGen, DeluxeMenus, EpicSpawners, Essentials, EssentialsChat, EssentialsSpawn, FastAsyncWorldEdit, FastFarmStopper, HeadDatabase*, Jobs, LuckPerms, Multiverse-Core, MultiVIP*, PlaceholderAPI*, ProtocolLib, ProtocolSupport, Scoreboard-revision*, SkQuery, Skript, TitleManager*, UltimateStacker, Vault, WorldEdit, YourAuction 

BentoBox setup

BentoBox and Addons
> [08:58:14 INFO]: Verze BentoBoxu: 1.5.3
> [08:58:14 INFO]: Načtené herní světy: 
> [08:58:14 INFO]: bskyblock_world BSkyBlock: Svět Nether End
> [08:58:14 INFO]: Načtené addony: 
> [08:58:14 INFO]: BSkyBlock (ENABLED)
> [08:58:14 INFO]: Greenhouses 0.3.2-SNAPSHOT (ENABLED)
> [08:58:14 INFO]: Level 1.5.0 (ENABLED)
> [08:58:14 INFO]: Limits 0.2.2 (ENABLED)
Configuration

Additional context

Configuration of greenhouse from screenshot:

 JUNGLE:
    biome: JUNGLE
    friendlyname: "&2Jungle"
    icon: VINE
    priority: 6
    contents:
      GRASS_BLOCK: 12
      JUNGLE_LOG: 6
      JUNGLE_LEAVES: 12
    plants:
      DANDELION: 20:GRASS_BLOCK
      MELON: 10:GRASS_BLOCK
      ROSE_BUSH: 20:GRASS_BLOCK
      FERN: 20:GRASS_BLOCK
      TALL_GRASS: 10:GRASS_BLOCK
      BAMBOO: 20:GRASS_BLOCK
    mobs:
      PANDA: 10:GRASS_BLOCK
    moblimit: 18
VozikCZE commented 5 years ago

Still overpopulated.. but it looks, that is overpopulated only in water. Mob limit: 10 image

tastybento commented 5 years ago

Ah, okay. I think the mobs can swim down below the "bottom" of the greenhouse so they don't get counted. Reopening..

tastybento commented 5 years ago

Fixed in latest commit