tastybento / ASkyBlock-Bugs-N-Features

Bug Tracker for ASkyBlock and AcidIsland - note team is 100% working on next version BentoBox
6 stars 3 forks source link

Island Levels are not counting correct #647

Closed evrenacigul closed 6 years ago

evrenacigul commented 6 years ago

Thank you for filing a bug report. Please complete these sections to help speed resolution.

Server version: spigot 1.8.8

Plugin version: Latest

What other plugins are you using? (do /plugins and paste here)

Description of issue. What happened? the island levels is not working correctly, for example; my diamond block gives 1 level, and emerald block has 0.5 level. it counts on diamonds (so its integer), however floating numbers are not working like emerald block does. So if we have placed 5 dia blocks and 10 emerald blocks on our island, we get 5 island level. it was working correctly once. but I dont know where this issue started to happen.

Steps to make this happen

What do you think should happen? Explained above.

tastybento commented 6 years ago

Please share your blockvalues.yml. You can zip it and drag and drop it to this box, or use pastebin.

evrenacigul commented 6 years ago

I uploaded config.yml and blockvalues.yml together. askyblock_bug.zip

tastybento commented 6 years ago

Block values must be an integer (whole number), see line 44 of blockvalues.yml:

This section lists the value of a block. Value must be an integer.

So, multiply all the block values by say 1000 and set levelcost to 1000 and that will work.