BentoBoxWorld / Limits

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

Recount command works bad #123

Open VozikCZE opened 3 years ago

VozikCZE commented 3 years ago

Description Command for recount limit works only sometimes.

Steps to reproduce the behavior:

  1. Use /bsb limits calc or /is limits recount
  2. Wait. Nothing will usually happen, it only sometimes recount the level - I trying to find when it recount, but I didin't find any reason yet.

Expected behavior It should recount limits with some messages in chat like "Recounting island level... Estimated time: 50 seconds"

Server Information:

[Please complete the following information:] [09:55:16 INFO]: Běžím na Neplatné (PURPUR) Neplatné. [09:55:16 INFO]: Verze BentoBox: 1.15.5 [09:55:16 INFO]: Databáze: MYSQL [09:55:16 INFO]: Načtené herní světy: [09:55:16 INFO]: bskyblock_world (BSkyBlock): Svět, Nether, End [09:55:16 INFO]: Načtené doplňky: [09:55:16 INFO]: BSkyBlock 1.14.3 (ENABLED) [09:55:16 INFO]: Chat 1.1.2 (ENABLED) [09:55:16 INFO]: EpicHooks 1.1.0-SNAPSHOT-b5 (ENABLED) [09:55:16 INFO]: Greenhouses 1.5.1-SNAPSHOT-b287 (ENABLED) [09:55:16 INFO]: Level 2.5.0 (ENABLED) [09:55:16 INFO]: Limits 1.15.0 (ENABLED) [09:55:16 INFO]: Warps 1.9.7 (ENABLED)

ChimpGamer commented 3 years ago

If I check /is top the amount of hoppers is not the same with /is limits even after executing /is limits recount. image image

VozikCZE commented 3 years ago

Limits have more problems with bad counting.

tastybento commented 3 years ago

Yes. It needs reworking to essentially use the same code as Level. It's on the list.

VozikCZE commented 2 years ago

@tastybento I think this is important issue and it should be fixed soon.. some players are stuck because they have wrong count in /is limits and they can't recount it.

tastybento commented 2 years ago

Okay. I'll see what I can do.

tastybento commented 2 years ago

This update should fix the block recounting. Note that it recounts for overworld, nether, and end, if they are enabled. Localization of some of the text is not done yet. In other words, this is still a work in progress.

tastybento commented 2 years ago

@VozikCZE Okay, please try the snapshot and let me know if it works for you.

VozikCZE commented 2 years ago

@tastybento Sorry for the delay.. It works slowly, but works :D Also it doesn't have any spam protection.