BentoBoxWorld / Limits

Limits blocks and entities on islands - for BentoBox
Eclipse Public License 2.0
8 stars 17 forks source link

Unable to open a /bsbadmin limit GUI #18

Closed wellnesscookie closed 5 years ago

wellnesscookie commented 5 years ago

Description I am not unable to open /bsbadmin limits GUI (nor /island limits) with new Limits snapshot. Note: Entity limit works perfect. See an example below.

Steps to reproduce the behavior:

  1. Have entity limits in configuration like me:
    CHICKEN: 10
    PIG: 10
    COW: 10
    DONKEY: 10
    HORSE: 10
    LLAMA: 10
    MULE: 10
    MUSHROOM_COW: 10
    ITEM_FRAME: 100
    REDSTONE_COMPARATOR: 100
    TURTLE: 30
    ZOMBIE: 40
    SKELETON: 40
    CREEPER: 40
    BAT: 5
    BEACON: 30
  2. Try to spawn more than 10 Pigs (Entity limit works perfect) (Yellow arrows on screenshot)
  3. Type /bsbadmin limits or /island limits (Blue arrow on screenshot)
  4. See: https://prntscr.com/nk9k7o (No limits set in this world)

Expected behavior Open a nice looking GUI that I've seen earlier on my localhost test server.

Server Information:

Additional context Please note that I have successfully opened it on a fresh server (It was build #108), but not on our live one too. I don't know what can be the problem, our config seems to be alright too.

tastybento commented 5 years ago

Thanks, this is caused when there are no block limits in the config. It was left over from the older version which just handled block limits. Fixed now.